# 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 = "2018" name = "dfu-core" version = "0.7.0" authors = ["Cecile Tonglet "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Sans IO core library (traits and tools) for DFU" homepage = "https://github.com/dfu-rs/dfu-core" documentation = "https://docs.rs/dfu-core" readme = "README.md" keywords = [ "dfu", "sans-io", "nostd", ] license = "MIT OR Apache-2.0" repository = "https://github.com/dfu-rs/dfu-core" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "dfu_core" path = "src/lib.rs" [[test]] name = "download" path = "tests/download.rs" [[test]] name = "download_async" path = "tests/download_async.rs" required-features = ["async"] [dependencies.bytes] version = "1" [dependencies.displaydoc] version = "0.2" [dependencies.futures] version = "0.3.31" optional = true [dependencies.log] version = "0.4" [dependencies.pretty-hex] version = "0.3" [dependencies.thiserror] version = "1" optional = true [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.futures-test] version = "0.3.31" [dev-dependencies.num-derive] version = "0.3.3" [dev-dependencies.num-traits] version = "0.2.15" [dev-dependencies.thiserror] version = "1" [features] async = [ "dep:futures", "std", ] std = ["dep:thiserror"]