leptos/leptos_server/Cargo.toml

47 lines
1.3 KiB
TOML
Raw Normal View History

[package]
name = "leptos_server"
version = { workspace = true }
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
edition.workspace = true
[dependencies]
2024-08-11 00:01:41 +00:00
base64 = "0.22.1"
2024-08-23 20:50:55 +00:00
codee = { version = "0.2.0", 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-08-11 00:01:41 +00:00
tracing = { version = "0.1.40", optional = true }
futures = "0.3.30"
2024-03-16 20:33:15 +00:00
any_spawner = { workspace = true }
or_poisoned = { workspace = true }
tachys = { workspace = true, optional = true, features = ["reactive_graph"] }
send_wrapper = "0.6"
2024-03-16 20:33:15 +00:00
# serialization formats
2024-08-11 00:01:41 +00:00
serde = { version = "1.0" }
js-sys = { version = "0.3.69", optional = true }
wasm-bindgen = { version = "0.2.93", optional = true }
2024-08-11 00:01:41 +00:00
serde_json = { version = "1.0" }
[features]
ssr = []
hydration = []
miniserde = ["codee/miniserde"]
rkyv = ["codee/rkyv"]
serde-wasm-bindgen = ["codee/json_serde_wasm"]
serde-lite = ["codee/serde_lite"]
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 = ["tracing"]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]