Skip to content

Commit

Permalink
added wasm feature
Browse files Browse the repository at this point in the history
  • Loading branch information
kilork committed Jul 23, 2024
1 parent 7ef9e9c commit 091f130
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 186 deletions.
32 changes: 0 additions & 32 deletions Cargo.lock

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

10 changes: 7 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ keywords = []
[lib]
crate-type = ["cdylib", "rlib"]

[features]
default = ["wasm"]
wasm = ["dep:wasm-bindgen", "dep:tsify"]

[dependencies]
wasm-bindgen = "0.2.84"
tsify = { version = "0.4.5", features = ["js"] }
raxb = "0.3.7"
serde = { version = "1.0.203", features = ["derive"] }
derive_builder = "0.20.0"

wasm-bindgen = { version = "0.2.84", optional = true }
tsify = { version = "0.4.5", features = ["js"], optional = true }

[dev-dependencies]
serde_json = "1"
Expand Down
Loading

0 comments on commit 091f130

Please sign in to comment.