Skip to content

Commit

Permalink
fix: remove wee-alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan770 committed Feb 21, 2024
1 parent 0eabdee commit b609c49
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 55 deletions.
75 changes: 25 additions & 50 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion crates/teddybear-js/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ uuid = { version = "1.7.0", features = ["v4", "js"] }
js-sys = "0.3.68"
wasm-bindgen = "0.2.91"
wasm-bindgen-futures = "0.4.41"
wee_alloc = "0.4.5"

[dev-dependencies]
wasm-bindgen-test = "0.3.41"
4 changes: 0 additions & 4 deletions crates/teddybear-js/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use teddybear_status_list::{
};
use uuid::Uuid;
use wasm_bindgen::prelude::*;
use wee_alloc::WeeAlloc;

use teddybear_vc::{
issue_vc, issue_vp,
Expand All @@ -22,9 +21,6 @@ use teddybear_vc::{
verify_credential, verify_presentation,
};

#[global_allocator]
static ALLOC: WeeAlloc = WeeAlloc::INIT;

const OBJECT_SERIALIZER: Serializer = Serializer::new().serialize_maps_as_objects(true);

/// A public/private Ed25519/X25519 keypair.
Expand Down

0 comments on commit b609c49

Please sign in to comment.