Skip to content

Commit

Permalink
Enable pkcs8/std feature when std is enabled (#746)
Browse files Browse the repository at this point in the history
When we enable the `std` feature and the `pkcs8` dependency is enabled (by the `pem` feature), enable the `std` feature of `pkcs8`.

This makes it easier to work with the re-exported `pkcs8::Error` type because without the `std` feature it does not impl the  `std::error::Error` marker trait.
  • Loading branch information
cGuille authored Oct 10, 2023
1 parent a34e476 commit 8f37b60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ed25519/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ default = ["std"]
alloc = ["pkcs8?/alloc"]
pem = ["alloc", "pkcs8/pem"]
serde_bytes = ["serde", "dep:serde_bytes"]
std = ["signature/std"]
std = ["pkcs8?/std", "signature/std"]

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit 8f37b60

Please sign in to comment.