diff --git a/Cargo.lock b/Cargo.lock index 5c3b03c40..f701431cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -75,12 +75,6 @@ dependencies = [ "as-slice", ] -[[package]] -name = "alloc-traits" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b2d54853319fd101b8dd81de382bcbf3e03410a64d8928bbee85a3e7dcde483" - [[package]] name = "anyhow" version = "1.0.93" @@ -799,7 +793,6 @@ dependencies = [ "embedded-nal-coap", "heapless 0.8.0", "scroll-ring", - "static-alloc", ] [[package]] @@ -4219,16 +4212,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" -[[package]] -name = "static-alloc" -version = "0.2.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b2975e035ce16539eecee08d7c6e5626ca26f299c6e90af343b302c6dd2e61e" -dependencies = [ - "alloc-traits", - "atomic-polyfill", -] - [[package]] name = "static_assertions" version = "1.1.0" diff --git a/tests/coap/Cargo.toml b/tests/coap/Cargo.toml index 50c94ddeb..4882580b1 100644 --- a/tests/coap/Cargo.toml +++ b/tests/coap/Cargo.toml @@ -27,7 +27,6 @@ coap-request-implementations = "0.1.0-alpha.4" coap-handler = "0.2.0" coap-handler-implementations = "0.5.0" -static-alloc = { version = "0.2.5", features = ["polyfill"] } coap-scroll-ring-server = "0.2.0" scroll-ring = "0.1.1" diff --git a/tests/coap/src/main.rs b/tests/coap/src/main.rs index 60d5789f2..f67239f2f 100644 --- a/tests/coap/src/main.rs +++ b/tests/coap/src/main.rs @@ -3,13 +3,6 @@ #![feature(impl_trait_in_assoc_type)] #![feature(used_with_arg)] -// because coapcore depends on it temporarily -extern crate alloc; -use static_alloc::Bump; - -#[global_allocator] -static A: Bump<[u8; 1 << 16]> = Bump::uninit(); - #[ariel_os::task(autostart)] async fn coap_run() { use coap_handler_implementations::HandlerBuilder;