# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "wasm-wnfs" version = "0.1.9" authors = ["The Fission Authors"] description = "WebNative Filesystem API (WebAssembly)" homepage = "https://fission.codes" readme = "README.md" keywords = [ "wnfs", "webnative", "ipfs", "decentralisation", ] categories = [ "filesystem", "cryptography", "web-programming", "wasm", ] license = "Apache-2.0" repository = "https://github.com/WebNativeFileSystem/rs-wnfs/tree/main/crates/wasm" resolver = "1" [lib] crate-type = [ "cdylib", "rlib", ] path = "lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "0.1" [dependencies.cfg-if] version = "1.0" [dependencies.chrono] version = "0.4" features = [ "clock", "std", "wasmbind", ] default-features = false [dependencies.console_error_panic_hook] version = "0.1" optional = true [dependencies.js-sys] version = "0.3" optional = true [dependencies.libipld] version = "0.14" [dependencies.rand_core] version = "0.6" [dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] optional = true [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dependencies.web-sys] version = "0.3" optional = true [dependencies.wnfs] version = "0.1.9" [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] default = ["js"] js = [ "wasm", "wasm-bindgen", "wasm-bindgen-futures", "js-sys", "chrono/wasmbind", "console_error_panic_hook", ] wasm = ["wnfs/wasm"] web = [ "wasm", "web-sys", ]