# 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.62" name = "turbocharger" version = "0.4.0" authors = ["The authors"] description = "Autogenerated async RPC bindings that instantly connect a JS frontend to a Rust backend service via WebSockets and WASM." documentation = "https://docs.rs/turbocharger" readme = "README.md" keywords = [ "async", "web", "wasm", "rpc", ] categories = [ "asynchronous", "web-programming", "wasm", ] license = "MIT OR Apache-2.0 OR CC0-1.0" repository = "https://github.com/trevyn/turbocharger" [dependencies.bincode] version = "1" [dependencies.console_error_panic_hook] version = "0.1" optional = true [dependencies.dioxus] version = "0.2" optional = true [dependencies.futures-channel] version = "0.3" features = ["sink"] [dependencies.futures-util] version = "0.3" [dependencies.once_cell] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.tracked] version = "0.5" [dependencies.turbocharger-impl] version = "=0.4.0" [dev-dependencies.wasm-bindgen] version = "0.2" [dev-dependencies.wasm-bindgen-futures] version = "0.4" [features] axum = [ "dep:axum", "rust-embed", "mime_guess", ] debug_expansions = ["turbocharger-impl/debug_expansions"] default = ["console_error_panic_hook"] full = [ "axum", "dioxus", "tls", "svelte", ] svelte = ["turbocharger-impl/svelte"] tls = [ "tokio-rustls", "rustls-pemfile", "hyper", "acme-lib", "turbosql", ] wasm = [ "js-sys", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", "ws_stream_wasm", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.acme-lib] version = "0.8" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.async-stream] version = "0.3" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.async-trait] version = "0.1" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.axum] version = "0.5" features = [ "ws", "headers", "http2", ] optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.hyper] version = "0.14" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.js-sys] version = "0.3" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.log] version = "0.4" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.mime_guess] version = "2" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.rust-embed] version = "6" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.rustls-pemfile] version = "1" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.stream-cancel] version = "0.8" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio] version = "1" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-rustls] version = "0.23" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio-stream] version = "0.1" features = ["net"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.turbosql] version = "0.7" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.typetag] version = "0.2" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.wasm-bindgen] version = "0.2" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.wasm-bindgen-futures] version = "0.4" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.web-sys] version = "0.3" features = [ "Location", "Window", ] optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.ws_stream_wasm] version = "0.7" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3" features = [ "Location", "Window", ] [target."cfg(target_arch = \"wasm32\")".dependencies.ws_stream_wasm] version = "0.7"