leptos/leptos_server/Cargo.toml

50 lines
1.4 KiB
TOML
Raw Normal View History

[package]
name = "leptos_server"
version = { workspace = true }
edition = "2021"
2022-11-04 00:05:44 +00:00
authors = ["Greg Johnston"]
license = "MIT"
2023-08-04 11:55:04 +00:00
repository = "https://github.com/leptos-rs/leptos"
2022-11-04 00:05:44 +00:00
description = "RPC for the Leptos web framework."
readme = "../README.md"
2024-02-28 12:19:09 +00:00
rust-version.workspace = true
[dependencies]
2024-07-08 23:53:29 +00:00
codee = { version = "0.1", features = ["json_serde"] }
2024-03-16 20:33:15 +00:00
hydration_context = { workspace = true }
reactive_graph = { workspace = true, features = ["hydration"] }
server_fn = { workspace = true }
2024-03-16 20:33:15 +00:00
tracing = { version = "0.1", optional = true }
futures = "0.3"
tachys = { workspace = true, optional = true, features = ["reactive_graph"] }
2024-03-16 20:33:15 +00:00
# serialization formats
serde = { version = "1"}
serde-wasm-bindgen = { version = "0.6", optional = true }
js-sys = { version = "0.3", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
serde_json = { version = "1"}
2024-03-16 20:33:15 +00:00
miniserde = { version = "0.1", optional = true }
rkyv = { version = "0.7", optional = true, features = [
"validation",
"uuid",
"strict",
] }
serde-lite = { version = "0.5", optional = true }
base64 = { version = "0.22", optional = true }
[features]
ssr = []
hydration = []
2024-03-16 20:33:15 +00:00
rkyv = ["dep:rkyv", "dep:base64"]
serde-wasm-bindgen = ["dep:serde-wasm-bindgen", "dep:js-sys", "dep:wasm-bindgen"]
tachys = ["dep:tachys"]
2024-03-16 20:33:15 +00:00
tracing = ["dep:tracing"]
2022-11-03 12:08:03 +00:00
[package.metadata.cargo-all-features]
denylist = ["nightly"]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]