# 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" rust-version = "1.67" name = "rhizomedb-wasm" version = "0.1.0" authors = ["Quinn Wilton "] include = [ "/src", "README.md", "LICENSE-APACHE", "LICENSE-MIT", ] description = "RhizomeDB wasm bindings" documentation = "https://docs.rs/rhizomedb-wasm" readme = "README.md" keywords = [] categories = [] license = "Apache-2.0" repository = "https://github.com/rhizomedb/rs-rhizome/tree/main/rhizome-wasm" [lib] crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.anyhow] version = "1.0" [dependencies.cid] version = "0.10.0" features = ["serde-codec"] [dependencies.console_error_panic_hook] version = "0.1" optional = true [dependencies.derive_more] version = "0.99" [dependencies.futures] version = "0.3" features = [ "std", "async-await", ] default-features = false [dependencies.gloo-console] version = "0.2" [dependencies.js-sys] version = "0.3" optional = true [dependencies.rhizomedb] version = "0.1" [dependencies.rhizomedb-runtime] version = "0.1" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.5" [dependencies.tracing] version = "0.1" [dependencies.wasm-bindgen] version = "= 0.2.84" features = ["serde-serialize"] optional = true [dependencies.wasm-bindgen-downcast] version = "0.1" [dependencies.wasm-bindgen-futures] version = "0.4" features = ["futures-core-03-stream"] optional = true [dependencies.web-sys] version = "0.3" optional = true [dev-dependencies.pretty_assertions] version = "1.3.0" [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] default = ["js"] full = [ "js", "web", ] js = [ "console_error_panic_hook", "js-sys", "wasm-bindgen", "wasm-bindgen-futures", ] web = ["web-sys"]