# 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 = "sycamore" version = "0.9.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library for building reactive web apps in Rust and WebAssembly" homepage = "https://github.com/sycamore-rs/sycamore" readme = "README.md" keywords = [ "wasm", "gui", "reactive", ] categories = [ "gui", "wasm", "web-programming", ] license = "MIT" repository = "https://github.com/sycamore-rs/sycamore" [package.metadata.docs.rs] all-features = true default-target = "wasm32-unknown-unknown" [lib] name = "sycamore" path = "src/lib.rs" [[test]] name = "web" path = "tests/web/main.rs" required-features = ["hydrate"] [dependencies.futures] version = "0.3.25" optional = true [dependencies.hashbrown] version = "0.14.1" [dependencies.indexmap] version = "2.0.2" features = ["std"] [dependencies.paste] version = "1.0.9" [dependencies.sycamore-core] version = "0.9.1" [dependencies.sycamore-futures] version = "0.9.1" optional = true [dependencies.sycamore-macro] version = "0.9.1" [dependencies.sycamore-reactive] version = "0.9.1" [dependencies.sycamore-web] version = "0.9.1" optional = true [dependencies.wasm-bindgen] version = "0.2.83" optional = true [dependencies.wasm-bindgen-futures] version = "0.4.33" optional = true [dependencies.web-sys] version = "0.3.60" optional = true [dev-dependencies.expect-test] version = "1.4.0" [dev-dependencies.tokio] version = "1.22.0" features = [ "macros", "rt", ] [dev-dependencies.wasm-bindgen-test] version = "0.3.33" [dev-dependencies.web-sys] version = "0.3.60" features = ["HtmlInputElement"] [features] default = [ "web", "wasm-bindgen-interning", ] hydrate = [ "web", "sycamore-web/hydrate", ] nightly = ["sycamore-reactive/nightly"] serde = ["sycamore-reactive/serde"] suspense = [ "futures", "wasm-bindgen-futures", "sycamore-futures", "sycamore-core/suspense", "sycamore-web/suspense", ] wasm-bindgen-interning = [ "web", "dep:wasm-bindgen", "wasm-bindgen/enable-interning", ] web = [ "dep:wasm-bindgen", "dep:web-sys", "dep:sycamore-web", ]