diff --git a/Cargo.lock b/Cargo.lock index 815eb980..f1b9df07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3287,12 +3287,6 @@ dependencies = [ "autocfg", ] -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - [[package]] name = "mime" version = "0.3.17" @@ -6503,7 +6497,6 @@ dependencies = [ "web-sys", "webpki", "webpki-roots 0.25.4", - "wee_alloc", "winapi", "windows 0.51.1", "windows-permissions", @@ -6694,7 +6687,6 @@ dependencies = [ "wasm-bindgen-futures", "wasm-bindgen-test", "wasm-logger", - "wee_alloc", "winapi", "ws_stream_tungstenite", "ws_stream_wasm", @@ -6736,7 +6728,6 @@ dependencies = [ "wasm-bindgen", "wasm-bindgen-futures", "wasm-bindgen-test", - "wee_alloc", ] [[package]] @@ -6944,18 +6935,6 @@ version = "0.25.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" -[[package]] -name = "wee_alloc" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" -dependencies = [ - "cfg-if 0.1.10", - "libc", - "memory_units", - "winapi", -] - [[package]] name = "wg" version = "0.9.2" diff --git a/veilid-core/Cargo.toml b/veilid-core/Cargo.toml index 5aefc1ee..df969792 100644 --- a/veilid-core/Cargo.toml +++ b/veilid-core/Cargo.toml @@ -271,7 +271,6 @@ serial_test = { version = "2.0.0", default-features = false, features = [ ] } wasm-bindgen-test = "0.3.50" console_error_panic_hook = "0.1.7" -wee_alloc = "0.4.5" wasm-logger = "0.2.0" ### BUILD OPTIONS diff --git a/veilid-core/tests/web.rs b/veilid-core/tests/web.rs index 1fe84138..2bbfbac5 100644 --- a/veilid-core/tests/web.rs +++ b/veilid-core/tests/web.rs @@ -10,10 +10,6 @@ use wasm_bindgen_test::*; wasm_bindgen_test_configure!(run_in_browser); -extern crate wee_alloc; -#[global_allocator] -static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; - static SETUP_ONCE: Once = Once::new(); pub fn setup() -> () { SETUP_ONCE.call_once(|| { diff --git a/veilid-tools/Cargo.toml b/veilid-tools/Cargo.toml index 2ccbd97c..60a4fde7 100644 --- a/veilid-tools/Cargo.toml +++ b/veilid-tools/Cargo.toml @@ -184,7 +184,6 @@ serial_test = { version = "2.0.0", default-features = false, features = [ ] } console_error_panic_hook = "0.1.7" wasm-bindgen-test = "0.3.50" -wee_alloc = "0.4.5" wasm-logger = "0.2.0" tracing-wasm = { version = "0.2.1" } diff --git a/veilid-tools/tests/web.rs b/veilid-tools/tests/web.rs index 26de66e7..f54309fd 100644 --- a/veilid-tools/tests/web.rs +++ b/veilid-tools/tests/web.rs @@ -9,10 +9,6 @@ use wasm_bindgen_test::*; wasm_bindgen_test_configure!(run_in_browser); -extern crate wee_alloc; -#[global_allocator] -static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; - static SETUP_ONCE: Once = Once::new(); pub fn setup() -> () { SETUP_ONCE.call_once(|| { diff --git a/veilid-wasm/Cargo.toml b/veilid-wasm/Cargo.toml index f032e59e..55aa92cb 100644 --- a/veilid-wasm/Cargo.toml +++ b/veilid-wasm/Cargo.toml @@ -28,7 +28,6 @@ tracing-subscriber = "^0" wasm-bindgen = { version = "^0", features = ["serde-serialize"] } console_error_panic_hook = "^0" -wee_alloc = "^0" cfg-if = "^1" wasm-bindgen-futures = "^0" js-sys = "^0" diff --git a/veilid-wasm/src/lib.rs b/veilid-wasm/src/lib.rs index 595bc65e..35bbc638 100644 --- a/veilid-wasm/src/lib.rs +++ b/veilid-wasm/src/lib.rs @@ -35,11 +35,6 @@ pub mod veilid_table_db_js; mod wasm_helpers; use wasm_helpers::*; -// Allocator -extern crate wee_alloc; -#[global_allocator] -static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; - // API Singleton lazy_static! { static ref VEILID_API: SendWrapper>> =