# 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.64" name = "deterministic-bloom-wasm" version = "0.1.0" authors = ["Brooklyn Zelenka "] include = [ "/src", "README.md", "LICENSE", ] description = "Wasm bindings for the deterministic-bloom crate." documentation = "https://docs.rs/deterministic-bloom-wasm" readme = "README.md" keywords = [] categories = [] license = "Apache-2.0" repository = "https://github.com/wnfs-wg/deterministic-bloom/tree/main/deterministic-bloom-wasm" resolver = "1" [profile.release] lto = true [lib] crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.console_error_panic_hook] version = "0.1" optional = true [dependencies.derive_more] version = "0.99" [dependencies.deterministic-bloom] version = "0.1" [dependencies.js-sys] version = "0.3" optional = true [dependencies.once_cell] version = "1.16" [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1" [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 [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"]