# 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 = "2021" name = "stratum-v1" version = "0.1.0" description = """ Stratum v1 client. This provides a `#[no_std]` library to implement a Stratum v1 client.""" homepage = "https://github.com/Foundation-Devices/foundation-rs" categories = [ "embedded", "no-std", ] license = "GPL-3.0-or-later AND GPL-3.0-only" [[example]] name = "stratum-v1-cli" path = "examples/tokio-cli.rs" [dependencies.bitcoin_hashes] version = "0.14" default-features = false [dependencies.defmt] version = "0.3" optional = true [dependencies.derive_more] version = "1.0" features = ["from"] default-features = false [dependencies.embedded-io-async] version = "0.6" [dependencies.faster-hex] version = "0.10" default-features = false [dependencies.heapless] version = "0.8" features = ["serde"] default-features = false [dependencies.log] version = "0.4" optional = true [dependencies.serde] version = "1.0.156" features = ["derive"] default-features = false [dependencies.serde-json-core] version = "0.6.0" features = ["custom-error-messages"] [dev-dependencies.embedded-io] version = "0.6" features = ["std"] [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.inquire] version = "0.7" [dev-dependencies.log] version = "0.4" [dev-dependencies.tokio] version = "1" features = ["full"] [features] defmt-03 = [ "dep:defmt", "embedded-io-async/defmt-03", "heapless/defmt-03", "serde-json-core/defmt", ]