Skip to content

Commit 2c2a876

Browse files
authored
[fix] Issue OpenPRoT#32 - subtle dependency breaks no_std/embedded builds (OpenPRoT#33)
The subtle crate is designed to work in no_std environments when default features are disabled. The current configuration prevents OpenPRoT from being used in the embedded ecosystem where constant-time cryptographic operations are particularly important.
1 parent d5e26a1 commit 2c2a876

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ edition = "2021"
2424

2525
[workspace.dependencies]
2626
zerocopy = { version = "0.8.27", features = ["derive"] }
27-
zeroize = { version = "1.7", features = ["derive"] }
28-
subtle = "2.5"
27+
zeroize = { version = "1.7", default-features = false, features = ["derive"] }
28+
subtle = { version = "2.5", default-features = false }

0 commit comments

Comments
 (0)