# 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 = "sledgehammer_bindgen" version = "0.6.0" authors = ["Evan Almloff "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Fast batched js bindings" documentation = "https://docs.rs/sledgehammer_bindgen" readme = "README.md" keywords = [ "web", "wasm", "dom", ] categories = [ "web-programming", "wasm", "api-bindings", ] license = "MIT" repository = "https://github.com/demonthos/sledgehammer_bindgen/" [lib] name = "sledgehammer_bindgen" path = "src/lib.rs" [[example]] name = "simple" path = "examples/simple.rs" required-features = ["web"] [[example]] name = "test" path = "examples/test.rs" required-features = ["web"] [[example]] name = "typed_elements" path = "examples/typed_elements.rs" required-features = ["web"] [[example]] name = "wry" path = "examples/wry.rs" [dependencies.sledgehammer_bindgen_macro] version = "0.6.0" [dependencies.wasm-bindgen] version = "0.2" optional = true [dev-dependencies.getrandom] version = "0.2" features = ["js"] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.sledgehammer_utils] version = "0.3.0" [dev-dependencies.wasm-bindgen] version = "0.2" [dev-dependencies.web-sys] version = "0.3" features = [ "Node", "console", ] [dev-dependencies.wry] version = "0.33.0" features = ["devtools"] [features] default = [] web = [ "wasm-bindgen", "sledgehammer_bindgen_macro/web", ]