# 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-web" version = "0.9.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "proc-macro crate for Sycamore" 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" [lib] name = "sycamore_web" path = "src/lib.rs" [dependencies.futures] version = "0.3.30" optional = true [dependencies.js-sys] version = "0.3.67" [dependencies.once_cell] version = "1.19.0" [dependencies.paste] version = "1.0.14" [dependencies.smallvec] version = "1.13.2" features = [ "union", "const_generics", ] [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" features = ["wasm-bindgen"] [dependencies.wasm-bindgen] version = "0.2.92" [dependencies.web-sys] version = "0.3.69" features = [ "Comment", "console", "Node", "NodeList", "Window", "Document", "DocumentFragment", "Element", "EventListener", "HtmlElement", "Text", "Event", "AnimationEvent", "BeforeUnloadEvent", "CompositionEvent", "DeviceMotionEvent", "DeviceOrientationEvent", "DragEvent", "ErrorEvent", "Event", "FocusEvent", "GamepadEvent", "HashChangeEvent", "InputEvent", "KeyboardEvent", "MessageEvent", "MouseEvent", "PageTransitionEvent", "PointerEvent", "PopStateEvent", "ProgressEvent", "PromiseRejectionEvent", "SecurityPolicyViolationEvent", "StorageEvent", "SubmitEvent", "TouchEvent", "TransitionEvent", "WheelEvent", ] [dev-dependencies.expect-test] version = "1.4.1" [features] default = ["wasm-bindgen-interning"] hydrate = [] suspense = [ "dep:sycamore-futures", "dep:futures", "dep:async-stream", ] wasm-bindgen-interning = ["wasm-bindgen/enable-interning"] [target.'cfg(any(not(target_arch = "wasm32"), syacmore_force_ssr))'.dependencies.async-stream] version = "0.3.0" optional = true [target.'cfg(any(not(target_arch = "wasm32"), syacmore_force_ssr))'.dependencies.html-escape] version = "0.2.13" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio] version = "1.22.0" features = [ "rt", "macros", ] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio-test] version = "0.4.4" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(sycamore_force_ssr)", "cfg(rust_analyzer)", ]