Skip to content

Commit

Permalink
Enable pkcs8/std feature when std is enabled
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 7c8d567
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 7c8d567

Please sign in to comment.