diff --git a/ed25519/Cargo.toml b/ed25519/Cargo.toml index 5f01afe2..c0368e7e 100644 --- a/ed25519/Cargo.toml +++ b/ed25519/Cargo.toml @@ -23,7 +23,7 @@ signature = { version = "3.0.0-rc.0", default-features = false } # optional dependencies pkcs8 = { version = "0.11.0-rc.2", optional = true } serde = { version = "1", optional = true, default-features = false } -serde_bytes = { version = "0.11", optional = true } +serde_bytes = { version = "0.11", optional = true, default-features = false } zeroize = { version = "1", optional = true, default-features = false } [dev-dependencies] @@ -34,11 +34,10 @@ hex-literal = "1" rand_core = { version = "0.9", features = ["std"] } [features] -default = ["std"] +default = ["alloc"] alloc = ["pkcs8?/alloc"] pem = ["alloc", "pkcs8/pem"] serde_bytes = ["serde", "dep:serde_bytes"] -std = ["pkcs8?/std"] [package.metadata.docs.rs] all-features = true diff --git a/ed448/Cargo.toml b/ed448/Cargo.toml index 2a19c8e7..37cc3ff9 100644 --- a/ed448/Cargo.toml +++ b/ed448/Cargo.toml @@ -31,8 +31,7 @@ hex-literal = "1" bincode = "1" [features] -default = ["std"] +default = ["alloc"] alloc = ["pkcs8?/alloc"] pem = ["alloc", "pkcs8/pem"] serde_bytes = ["serde", "dep:serde_bytes"] -std = ["pkcs8?/std", "serde_bytes?/std"]