2022-10-28 19:41:40 +00:00
|
|
|
[package]
|
|
|
|
name = "leptos_server"
|
2023-01-11 17:09:10 +00:00
|
|
|
version = { workspace = true }
|
2022-10-28 19:41:40 +00:00
|
|
|
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."
|
2023-01-17 17:05:09 +00:00
|
|
|
readme = "../README.md"
|
2024-02-28 12:19:09 +00:00
|
|
|
rust-version.workspace = true
|
2022-10-28 19:41:40 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-03-16 20:33:15 +00:00
|
|
|
hydration_context = { workspace = true }
|
|
|
|
reactive_graph = { workspace = true, features = ["hydration"] }
|
|
|
|
#leptos_macro = { workspace = true }
|
2023-07-13 23:41:55 +00:00
|
|
|
server_fn = { workspace = true }
|
2024-03-16 20:33:15 +00:00
|
|
|
#lazy_static = "1"
|
2022-10-28 19:41:40 +00:00
|
|
|
thiserror = "1"
|
2024-03-16 20:33:15 +00:00
|
|
|
tracing = { version = "0.1", optional = true }
|
|
|
|
#inventory = "0.3"
|
|
|
|
futures = "0.3"
|
|
|
|
|
|
|
|
# serialization formats
|
2024-05-20 12:02:12 +00:00
|
|
|
serde = { version = "1"}
|
2024-03-24 19:59:35 +00:00
|
|
|
serde-wasm-bindgen = { version = "0.6", optional = true }
|
|
|
|
js-sys = { version = "0.3", optional = true }
|
|
|
|
wasm-bindgen = { version = "0.2", optional = true }
|
2024-05-20 12:02:12 +00:00
|
|
|
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 }
|
2022-10-28 19:41:40 +00:00
|
|
|
|
2022-12-28 18:26:10 +00:00
|
|
|
[dev-dependencies]
|
2023-01-12 14:57:08 +00:00
|
|
|
leptos = { path = "../leptos" }
|
2022-12-28 18:26:10 +00:00
|
|
|
|
2022-10-28 19:41:40 +00:00
|
|
|
[features]
|
2024-04-26 21:36:14 +00:00
|
|
|
ssr = []
|
2024-05-20 17:35:10 +00:00
|
|
|
hydration = []
|
2023-04-10 17:15:00 +00:00
|
|
|
default-tls = ["server_fn/default-tls"]
|
|
|
|
rustls = ["server_fn/rustls"]
|
2024-03-16 20:33:15 +00:00
|
|
|
rkyv = ["dep:rkyv", "dep:base64"]
|
2024-03-24 19:59:35 +00:00
|
|
|
serde-wasm-bindgen = ["dep:serde-wasm-bindgen", "dep:js-sys", "dep:wasm-bindgen"]
|
2024-03-16 20:33:15 +00:00
|
|
|
tracing = ["dep:tracing"]
|
2022-11-03 12:08:03 +00:00
|
|
|
|
|
|
|
[package.metadata.cargo-all-features]
|
2023-06-27 01:12:14 +00:00
|
|
|
denylist = ["nightly"]
|
2024-07-03 10:46:02 +00:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
rustdoc-args = ["--generate-link-to-definition"]
|