Skip to content

Commit

Permalink
optimised and gated wasm feature
Browse files Browse the repository at this point in the history
  • Loading branch information
nicelgueta committed Apr 2, 2024
1 parent 6de7fa8 commit a1a9550
Show file tree
Hide file tree
Showing 8 changed files with 1,452 additions and 3,394 deletions.
47 changes: 1 addition & 46 deletions Cargo.lock

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

11 changes: 6 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustyrs"
version = "0.2.2"
version = "0.2.3"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -10,9 +10,10 @@ name = "rustyrs"
path = "src/lib.rs"
crate-type = ["cdylib", "lib"]

[features]
wasm = ["wasm-bindgen", "getrandom"]

[dependencies]
rand = "0.8.5"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
wasm-bindgen = "0.2.92"
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = {version = "0.2.92", optional = true}
getrandom = { version = "0.2", features = ["js"], optional = true }
Loading

0 comments on commit a1a9550

Please sign in to comment.