2022-07-31 20:46:14 +00:00
|
|
|
[package]
|
2022-08-25 19:04:30 +00:00
|
|
|
name = "leptos_reactive"
|
2023-01-11 17:09:10 +00:00
|
|
|
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."
|
2022-07-31 20:46:14 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-08-11 02:34:20 +00:00
|
|
|
slotmap = { version = "1", features = ["serde"] }
|
2022-11-03 00:41:00 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2023-03-24 20:54:20 +00:00
|
|
|
serde-lite = { version = "0.4", optional = true }
|
2022-10-10 14:31:13 +00:00
|
|
|
futures = { version = "0.3" }
|
2023-03-22 21:56:52 +00:00
|
|
|
js-sys = { version = "0.3", optional = true }
|
2022-10-22 20:22:44 +00:00
|
|
|
miniserde = { version = "0.1", optional = true }
|
2023-03-03 20:48:06 +00:00
|
|
|
rkyv = { version = "0.7.39", features = [
|
|
|
|
"validation",
|
|
|
|
"uuid",
|
|
|
|
"copy",
|
|
|
|
"strict",
|
|
|
|
], optional = true }
|
2023-03-09 21:44:06 +00:00
|
|
|
bytecheck = { version = "0.7", features = [
|
2023-03-03 20:48:06 +00:00
|
|
|
"uuid",
|
|
|
|
"simdutf8",
|
|
|
|
], optional = true }
|
2023-03-13 21:58:00 +00:00
|
|
|
rustc-hash = "1"
|
2023-03-09 00:12:30 +00:00
|
|
|
serde-wasm-bindgen = "0.5"
|
2022-11-03 00:41:00 +00:00
|
|
|
serde_json = "1"
|
2023-01-22 22:15:54 +00:00
|
|
|
base64 = "0.21"
|
2022-09-21 19:14:01 +00:00
|
|
|
thiserror = "1"
|
2022-09-12 01:13:30 +00:00
|
|
|
tokio = { version = "1", features = ["rt"], optional = true }
|
2023-01-06 14:49:39 +00:00
|
|
|
tracing = "0.1"
|
2023-03-22 21:56:52 +00:00
|
|
|
wasm-bindgen = { version = "0.2", optional = true }
|
|
|
|
wasm-bindgen-futures = { version = "0.4", optional = true }
|
|
|
|
web-sys = { version = "0.3", optional = true, features = [
|
2022-11-03 00:41:00 +00:00
|
|
|
"DocumentFragment",
|
|
|
|
"Element",
|
|
|
|
"HtmlTemplateElement",
|
|
|
|
"NodeList",
|
|
|
|
"Window",
|
|
|
|
] }
|
2023-03-22 21:56:52 +00:00
|
|
|
cfg-if = "1"
|
|
|
|
indexmap = "1"
|
2023-04-06 00:16:40 +00:00
|
|
|
ouroboros = { version = "0.15.6", default-features = false }
|
2022-08-01 22:02:02 +00:00
|
|
|
|
2022-08-29 12:06:22 +00:00
|
|
|
[dev-dependencies]
|
2023-04-07 17:04:26 +00:00
|
|
|
criterion = { version = "0.4.0", features = ["html_reports"] }
|
|
|
|
reactive-signals = { version = "0.1.0-alpha.4", features = ["profile"] }
|
|
|
|
l021 = { package = "leptos", version = "0.2.1" }
|
|
|
|
sycamore = { version = "0.8", features = ["ssr"] }
|
2023-02-08 12:04:01 +00:00
|
|
|
log = "0.4"
|
2022-10-10 14:31:13 +00:00
|
|
|
tokio-test = "0.4"
|
2022-12-28 16:33:26 +00:00
|
|
|
leptos = { path = "../leptos" }
|
2022-08-29 12:06:22 +00:00
|
|
|
|
2022-08-25 19:04:30 +00:00
|
|
|
[features]
|
2022-10-22 20:22:44 +00:00
|
|
|
default = []
|
2023-03-24 20:54:20 +00:00
|
|
|
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",
|
|
|
|
]
|
2022-11-03 00:41:00 +00:00
|
|
|
ssr = ["dep:tokio"]
|
2022-10-18 06:11:51 +00:00
|
|
|
stable = []
|
2022-11-03 00:41:00 +00:00
|
|
|
serde = []
|
2022-10-22 20:22:44 +00:00
|
|
|
serde-lite = ["dep:serde-lite"]
|
2022-11-03 00:41:00 +00:00
|
|
|
miniserde = ["dep:miniserde"]
|
2023-02-26 21:12:53 +00:00
|
|
|
rkyv = ["dep:rkyv", "dep:bytecheck"]
|
2022-11-03 03:10:12 +00:00
|
|
|
|
|
|
|
[package.metadata.cargo-all-features]
|
|
|
|
denylist = ["stable"]
|
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",
|
|
|
|
],
|
2023-03-03 20:48:06 +00:00
|
|
|
[
|
|
|
|
"serde",
|
|
|
|
"rkyv",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"miniserde",
|
|
|
|
"rkyv",
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"serde-lite",
|
|
|
|
"rkyv",
|
|
|
|
],
|
2023-01-07 12:43:52 +00:00
|
|
|
]
|
2023-04-07 17:04:26 +00:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "deep_update"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "fan_out"
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "narrow_down"
|
|
|
|
harness = false
|