Skip to content
Snippets Groups Projects
Commit 9a657c04 authored by pv42's avatar pv42 Committed by Patrick José Pereira
Browse files

feat: add signing feature with sha2 dependency

parent 908e6547
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ serde = { version = "1.0.115", optional = true, features = ["derive"] } ...@@ -27,6 +27,7 @@ serde = { version = "1.0.115", optional = true, features = ["derive"] }
serde_arrays = { version = "0.1.0", optional = true } serde_arrays = { version = "0.1.0", optional = true }
serial = { version = "0.4", optional = true } serial = { version = "0.4", optional = true }
tokio = { version = "1.0", default-features = false, features = ["io-util"], optional = true } tokio = { version = "1.0", default-features = false, features = ["io-util"], optional = true }
sha2 = { version = "0.10", optional = true }
[features] [features]
"std" = ["byteorder/std"] "std" = ["byteorder/std"]
...@@ -40,4 +41,5 @@ tokio = { version = "1.0", default-features = false, features = ["io-util"], opt ...@@ -40,4 +41,5 @@ tokio = { version = "1.0", default-features = false, features = ["io-util"], opt
"embedded-hal-02" = ["dep:nb", "dep:embedded-hal-02"] "embedded-hal-02" = ["dep:nb", "dep:embedded-hal-02"]
"serde" = ["dep:serde", "dep:serde_arrays"] "serde" = ["dep:serde", "dep:serde_arrays"]
"tokio-1" = ["dep:tokio"] "tokio-1" = ["dep:tokio"]
"signing" = ["dep:sha2", "std"]
default = ["std", "tcp", "udp", "direct-serial", "serde"] default = ["std", "tcp", "udp", "direct-serial", "serde"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment