Skip to content

Commit

Permalink
Merge pull request #16 from b41sh/remove-wee_alloc
Browse files Browse the repository at this point in the history
fix: remove wee_alloc as it's unmaintained
  • Loading branch information
dmarteau authored Sep 16, 2024
2 parents 50d47d9 + 098860f commit 8709f09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
9 changes: 4 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ exclude = [

[dependencies]
crs-definitions = { version = "0.3", optional = true, default-features = false, features = ["proj4"] }
thiserror = "1.0"
lazy_static = { version = "1", optional = true }
log = { version = "0.4", optional = true }
geo-types = { version = "0.7.12", optional = true }
lazy_static = { version = "1", optional = true }
log = { version = "0.4", optional = true }
thiserror = "1.0"

[dev-dependencies]
approx = "0.5"
clap = { version = "4", features = ["derive"] }
criterion = { version = "0.5" }
env_logger = "0.10"
clap = { version = "4", features=["derive"] }
log = "0.4"

[profile.release]
Expand All @@ -55,7 +55,6 @@ proj4js-compat = []
wasm-bindgen = "0.2"
js-sys = "0.3"
web-sys = { version = "0.3", features = ["console"] }
wee_alloc = "0.4"
console_log = "1.0"

[[bench]]
Expand Down
6 changes: 1 addition & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
//! mostly from js app (at least with OpenLayer).
//! * **multi-thread**: Support for multi-thread with NAD Grid processing, this is activated by
//! default and disabled when compiling for WASM.
//! * **crs-definitions**: Support for initializing projections from EPSG codes with the
//! * **crs-definitions**: Support for initializing projections from EPSG codes with the
//! [crs_definitions](https://docs.rs/crs-definitions/latest/crs_definitions/) crate.
//!
//! ## WKT Support
Expand Down Expand Up @@ -117,10 +117,6 @@ mod wasm;
#[cfg(test)]
mod tests;

#[cfg(target_arch = "wasm32")]
#[global_allocator]
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;

// log for logging (optional).
#[cfg(feature = "logging")]
use log;
Expand Down

0 comments on commit 8709f09

Please sign in to comment.