From 733d5d6474e0a2e1c4504283bf7e89332d2b7544 Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Tue, 3 Jun 2025 19:28:34 -0700 Subject: [PATCH] ed25519,ed448: remove std features --- ed25519/Cargo.toml | 5 ++--- ed448/Cargo.toml | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) 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"]