diff --git a/Cargo.lock b/Cargo.lock index eca1db0e00..e71cc14cc9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2670,8 +2670,7 @@ dependencies = [ "serde", "serde-wasm-bindgen", "wasm-bindgen", - "wasm-bindgen-test", - "wee_alloc", + "wasm-bindgen-test" ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 3d330b5c41..b047777aff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -114,7 +114,6 @@ wasm-bindgen = "0.2.91" serde-wasm-bindgen = "0.6.4" js-sys = "0.3.68" console_error_panic_hook = "0.1.7" -wee_alloc = "0.4.5" wasm-bindgen-test = "0.3.41" memmap2 = { version = "0.9.4" } ahash = { version = "0.8.3", features = ["serde"] } diff --git a/js-raphtory/Cargo.toml b/js-raphtory/Cargo.toml index 35bad426e7..060d6f1c34 100644 --- a/js-raphtory/Cargo.toml +++ b/js-raphtory/Cargo.toml @@ -32,11 +32,6 @@ raphtory = { path = "../raphtory" } # code size when deploying. console_error_panic_hook = { workspace = true, optional = true } -# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size -# compared to the default allocator's ~10K. It is slower than the default -# allocator, however. -wee_alloc = { workspace = true, optional = true } - [dev-dependencies] wasm-bindgen-test = { workspace = true } diff --git a/js-raphtory/src/lib.rs b/js-raphtory/src/lib.rs index 4438e1773a..2e28594fe7 100644 --- a/js-raphtory/src/lib.rs +++ b/js-raphtory/src/lib.rs @@ -17,12 +17,6 @@ macro_rules! console_log { ($($t:tt)*) => (log(&format_args!($($t)*).to_string())) } -// When the `wee_alloc` feature is enabled, use `wee_alloc` as the global -// allocator. -#[cfg(feature = "wee_alloc")] -#[global_allocator] -static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; - #[wasm_bindgen] extern "C" { fn alert(s: &str); diff --git a/requirements.txt b/requirements.txt index a4a4829458..793adc98a4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ # # pip-compile requirements.in # -aiohttp==3.9.3 +aiohttp==3.9.5 # via langchain aiosignal==1.3.1 # via aiohttp @@ -30,7 +30,7 @@ automat==22.10.0 # via twisted backcall==0.2.0 # via ipython -certifi==2022.12.7 +certifi==2023.7.22 # via requests cffi==1.15.1 # via cryptography @@ -42,7 +42,7 @@ constantly==15.1.0 # via twisted contourpy==1.0.7 # via matplotlib -cryptography==40.0.2 +cryptography==42.0.4 # via # pyopenssl # scrapy @@ -70,7 +70,7 @@ filelock==3.12.0 # torch # transformers # triton -fonttools==4.39.3 +fonttools==4.43.3 # via matplotlib frozenlist==1.4.1 # via @@ -241,7 +241,7 @@ pexpect==4.8.0 # via ipython pickleshare==0.7.5 # via ipython -pillow==9.5.0 +pillow==10.2.0 # via # matplotlib # sentence-transformers