# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "sftool-lib"
version = "0.1.17"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SiFli SoC serial utility library"
documentation = "https://docs.rs/sftool-lib"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/OpenSiFli/sftool"
resolver = "2"

[features]
cli = ["clap"]

[lib]
name = "sftool_lib"
path = "src/lib.rs"

[[test]]
name = "utils_test"
path = "tests/utils_test.rs"

[dependencies.bitfield]
version = "0.19.0"

[dependencies.clap]
version = "4.2.1"
features = ["derive"]
optional = true

[dependencies.crc]
version = "3.2.1"

[dependencies.goblin]
version = "0.9.3"

[dependencies.ihex]
version = "3.0"

[dependencies.indicatif]
version = "0.17.11"

[dependencies.memmap2]
version = "0.9.5"

[dependencies.phf]
version = "0.11"
features = ["macros"]

[dependencies.probe-rs]
version = "0.27.0"

[dependencies.rust-embed]
version = "8.6.0"
features = [
    "debug-embed",
    "compression",
]

[dependencies.serialport]
version = "4.7.0"

[dependencies.strum]
version = "0.27.1"
features = ["derive"]

[dependencies.tempfile]
version = "3.17.1"

[dependencies.thiserror]
version = "1.0"

[dependencies.tracing]
version = "0.1.41"
