leptos/leptos_reactive/Cargo.toml

127 lines
2.5 KiB
TOML
Raw Normal View History

2022-07-31 20:46:14 +00:00
[package]
2022-08-25 19:04:30 +00:00
name = "leptos_reactive"
version = { workspace = true }
2022-07-31 20:46:14 +00:00
edition = "2021"
2022-10-07 10:50:21 +00:00
authors = ["Greg Johnston"]
license = "MIT"
2023-01-10 02:59:13 +00:00
repository = "https://github.com/leptos-rs/leptos"
2022-10-07 10:50:21 +00:00
description = "Reactive system for the Leptos web framework."
2024-02-28 12:19:09 +00:00
rust-version.workspace = true
2022-07-31 20:46:14 +00:00
[dependencies]
oco_ref = { workspace = true }
slotmap = { version = "1", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde-lite = { version = "0.5", optional = true }
futures = { version = "0.3" }
js-sys = { version = "0.3", optional = true }
miniserde = { version = "0.1", optional = true }
rkyv = { version = "0.7.39", features = [
"validation",
"uuid",
"strict",
], optional = true }
bytecheck = { version = "0.7", features = [
"uuid",
"simdutf8",
], optional = true }
rustc-hash = "1"
serde-wasm-bindgen = "0.6"
serde_json = "1"
spin-sdk = { version = "3", optional = true }
2024-03-22 22:07:04 +00:00
base64 = "0.22"
thiserror = "1"
2023-10-25 01:03:29 +00:00
tokio = { version = "1", features = [
"rt",
], optional = true, default-features = false }
tracing = "0.1"
wasm-bindgen = { version = "0.2", optional = true }
wasm-bindgen-futures = { version = "0.4", optional = true }
web-sys = { version = "0.3", optional = true, features = [
"DocumentFragment",
"Element",
"HtmlTemplateElement",
"NodeList",
"Window",
] }
cfg-if = "1"
2023-07-11 19:24:21 +00:00
indexmap = "2"
self_cell = "1.0.0"
2023-09-28 19:20:18 +00:00
pin-project = "1"
paste = "1"
2022-08-01 22:02:02 +00:00
[dev-dependencies]
log = "0.4"
tokio-test = "0.4"
leptos = { path = "../leptos" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = { version = "0.4" }
2022-08-25 19:04:30 +00:00
[features]
default = []
csr = [
"dep:js-sys",
"dep:wasm-bindgen",
"dep:wasm-bindgen-futures",
"dep:web-sys",
]
hydrate = [
"dep:js-sys",
"dep:wasm-bindgen",
"dep:wasm-bindgen-futures",
"dep:web-sys",
]
ssr = ["dep:tokio"]
nightly = [] #["rkyv?/copy"] # not working on more recent nightlys
serde = []
serde-lite = ["dep:serde-lite"]
miniserde = ["dep:miniserde"]
2023-02-26 21:12:53 +00:00
rkyv = ["dep:rkyv", "dep:bytecheck"]
2023-09-08 20:33:00 +00:00
experimental-islands = []
spin = ["ssr", "dep:spin-sdk"]
2022-11-03 03:10:12 +00:00
[package.metadata.cargo-all-features]
denylist = ["nightly", "rkyv"]
2023-01-07 12:43:52 +00:00
skip_feature_sets = [
[
"csr",
"ssr",
],
[
"csr",
"hydrate",
],
[
"ssr",
"hydrate",
],
[
"serde",
"serde-lite",
],
[
"serde-lite",
"miniserde",
],
[
"serde",
"miniserde",
],
[
"serde",
"rkyv",
],
[
"miniserde",
"rkyv",
],
[
"serde-lite",
"rkyv",
],
2023-01-07 12:43:52 +00:00
]
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]