diff --git a/Cargo.toml b/Cargo.toml index 74b0ac4e131..ff259ea661f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,6 @@ categories = ["cryptography"] cfg_eval = [] base-mode-open = [] base-mode-seal = [] -wee-alloc = [] serde = ["serde_crate"] algo-all = ["aead-all", "kdf-all", "kem-all"] default = ["algo-all", "base-mode-seal", "base-mode-open"] @@ -45,7 +44,6 @@ package = "serde" [target.'cfg(target_arch = "wasm32")'.dependencies] wasm-bindgen = "0.2.80" getrandom = { version = "0.2.6", features = ["js", "js-sys"] } -wee_alloc = "0.4.5" [lib] crate-type = ["cdylib", "rlib"] diff --git a/src/lib.rs b/src/lib.rs index b176aea09e7..addc6d5cb23 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,10 +79,6 @@ cfg_if::cfg_if! { Self(h) } } - - #[cfg_attr(feature = "wee-alloc", global_allocator)] - #[cfg(feature = "wee-alloc")] - static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; } else { pub use hpke::HpkeError; }