1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- [package]
- name = "wnfs-wasm"
- version = "0.2.2"
- description = "WebNative Filesystem API (WebAssembly)"
- keywords = ["wnfs", "wasm", "webnative", "ipfs", "decentralisation"]
- categories = [
- "filesystem",
- "cryptography",
- "web-programming",
- "wasm",
- ]
- license = "Apache-2.0"
- readme = "README.md"
- edition = "2021"
- rust-version = "1.75"
- repository = "https://github.com/wnfs-wg/rs-wnfs/tree/main/wnfs-wasm"
- homepage = "https://fission.codes"
- authors = ["The Fission Authors"]
- [dependencies]
- anyhow = "1.0"
- bytes = "1.4.0"
- cfg-if = "1.0"
- chrono = { version = "0.4", default-features = false, features = ["clock", "std", "wasmbind"] }
- console_error_panic_hook = { version = "0.1", optional = true }
- getrandom = { version = "0.2", features = ["js"] }
- js-sys = { version = "0.3", optional = true }
- libipld-core = { version = "0.16" }
- rand_core = "0.6"
- wasm-bindgen = { version = "0.2.87", optional = true, features = ["serde-serialize"] }
- wasm-bindgen-futures = { version = "0.4", optional = true }
- web-sys = { version = "0.3", optional = true }
- wnfs = { path = "../wnfs", version = "=0.2.2" }
- wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.2.0" }
- [dev-dependencies]
- wasm-bindgen-test = "0.3"
- [lib]
- crate-type = ["cdylib", "rlib"]
- path = "src/lib.rs"
- [features]
- default = ["js"]
- wasm = ["wnfs/wasm"]
- js = ["chrono/wasmbind", "console_error_panic_hook", "js-sys", "wasm", "wasm-bindgen", "wasm-bindgen-futures"]
- web = ["wasm", "web-sys"]
|