diff --git a/Cargo.toml b/Cargo.toml index f6dcfd6..4cf5e79 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,6 +45,7 @@ minicbor = { version = "0.24", features = ["derive"] } nom = { version = "7", default-features = false } phf = { version = "0.11", features = ["macros"], default-features = false } rand_xoshiro = "0.6" +rustversion = "1.0" secp256k1 = { version = "0.29", default-features = false } serde = { version = "1.0.156", features = ["derive"], default-features = false } serde_json = "1" diff --git a/stratum-v1/Cargo.toml b/stratum-v1/Cargo.toml index 0f4d208..9aeb698 100644 --- a/stratum-v1/Cargo.toml +++ b/stratum-v1/Cargo.toml @@ -20,6 +20,7 @@ embedded-io-async = { workspace = true } faster-hex = { version = "0.10", default-features = false } heapless = { workspace = true, features = ["serde"] } log = { workspace = true, optional = true } +rustversion = { workspace = true } serde = { workspace = true } serde-json-core = { workspace = true, features = ["custom-error-messages"] } @@ -27,7 +28,7 @@ serde-json-core = { workspace = true, features = ["custom-error-messages"] } defmt-03 = [ "dep:defmt", "embedded-io-async/defmt-03", - # "faster-hex/defmt-03", # will enable it after faster-hex publish PR#54 + # "faster-hex/defmt-03", # will enable it after faster-hex publish 0.11 "heapless/defmt-03", "serde-json-core/defmt", ] diff --git a/stratum-v1/src/client/mod.rs b/stratum-v1/src/client/mod.rs index 43bd163..b9912c2 100644 --- a/stratum-v1/src/client/mod.rs +++ b/stratum-v1/src/client/mod.rs @@ -189,16 +189,12 @@ impl) -> core::fmt::Result { write!(f, "{self:?}")