# 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 = "leptos_workers" version = "0.2.2" authors = ["Lucas Åström"] description = "WebWorker library for the Leptos web framework." readme = "README.md" keywords = [ "leptos", "web-workers", "wasm", ] categories = [ "wasm", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Jinxit/leptos_workers" [dependencies.bincode] version = "2.0.0-rc.3" features = ["serde"] optional = true [dependencies.console_error_panic_hook] version = "0.1" [dependencies.const_format] version = "0.2" [dependencies.flume] version = "0.11" [dependencies.futures] version = "0.3" [dependencies.js-sys] version = "0.3" [dependencies.leptos_workers_macro] version = "0.2.2" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.5" [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1" features = ["log"] [dependencies.tracing-subscriber] version = "0.3" [dependencies.tracing-subscriber-wasm] version = "0.1" [dependencies.wasm-bindgen] version = "0.2" [dependencies.wasm-bindgen-futures] version = "0.4" [dependencies.web-sys] version = "0.3" features = [ "console", "Blob", "BlobPropertyBag", "DedicatedWorkerGlobalScope", "Document", "ErrorEvent", "HtmlElement", "HtmlInputElement", "Location", "MessageEvent", "Navigator", "Performance", "ServiceWorker", "ServiceWorkerContainer", "ServiceWorkerGlobalScope", "ServiceWorkerRegistration", "ServiceWorkerState", "ServiceWorkerUpdateViaCache", "Url", "Window", "Worker", "WorkerLocation", "WorkerOptions", "WorkerType", ] [dependencies.xxhash-rust] version = "0.8" features = ["const_xxh64"] [dev-dependencies.gloo-timers] version = "0.3" features = ["futures"] [dev-dependencies.pollster] version = "0.3" [dev-dependencies.trybuild] version = "1.0" [dev-dependencies.wasm-bindgen-test] version = "0.3" [features] bincode = ["dep:bincode"] default = ["json"] json = ["dep:serde_json"] ssr = ["leptos_workers_macro/ssr"]