mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
chore: apply cargo machete
systematically (#671)
This commit is contained in:
parent
666d53e2ba
commit
38daaf3b72
20 changed files with 33 additions and 100 deletions
|
@ -12,7 +12,6 @@ actix-web = { version = "4", optional = true, features = ["macros"] }
|
||||||
broadcaster = "1"
|
broadcaster = "1"
|
||||||
console_log = "0.2"
|
console_log = "0.2"
|
||||||
console_error_panic_hook = "0.1"
|
console_error_panic_hook = "0.1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
cfg-if = "1"
|
cfg-if = "1"
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
|
@ -23,9 +22,9 @@ leptos_actix = { path = "../../integrations/actix", optional = true }
|
||||||
leptos_meta = { path = "../../meta", default-features = false }
|
leptos_meta = { path = "../../meta", default-features = false }
|
||||||
leptos_router = { path = "../../router", default-features = false }
|
leptos_router = { path = "../../router", default-features = false }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
simple_logger = "4.0.0"
|
|
||||||
gloo-net = { git = "https://github.com/rustwasm/gloo" }
|
gloo-net = { git = "https://github.com/rustwasm/gloo" }
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
|
serde = { version = "1", features = ["derive"] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
|
|
|
@ -7,10 +7,8 @@ edition = "2021"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.66"
|
|
||||||
console_log = "0.2.0"
|
console_log = "0.2.0"
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
futures = "0.3.25"
|
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
leptos = { path = "../../../leptos/leptos", default-features = false, features = [
|
leptos = { path = "../../../leptos/leptos", default-features = false, features = [
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -18,20 +16,15 @@ leptos = { path = "../../../leptos/leptos", default-features = false, features =
|
||||||
leptos_axum = { path = "../../../leptos/integrations/axum", default-features = false, optional = true }
|
leptos_axum = { path = "../../../leptos/integrations/axum", default-features = false, optional = true }
|
||||||
leptos_meta = { path = "../../../leptos/meta", default-features = false }
|
leptos_meta = { path = "../../../leptos/meta", default-features = false }
|
||||||
leptos_router = { path = "../../../leptos/router", default-features = false }
|
leptos_router = { path = "../../../leptos/router", default-features = false }
|
||||||
leptos_reactive = { path = "../../../leptos/leptos_reactive", default-features = false }
|
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
|
serde = { version = "1", features = ["derive"] }
|
||||||
simple_logger = "4.0.0"
|
simple_logger = "4.0.0"
|
||||||
serde = { version = "1.0.148", features = ["derive"] }
|
|
||||||
serde_json = "1.0.89"
|
|
||||||
gloo-net = { version = "0.2.5", features = ["http"] }
|
|
||||||
reqwest = { version = "0.11.13", features = ["json"] }
|
|
||||||
axum = { version = "0.6.1", optional = true }
|
axum = { version = "0.6.1", optional = true }
|
||||||
tower = { version = "0.4.13", optional = true }
|
tower = { version = "0.4.13", optional = true }
|
||||||
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
||||||
tokio = { version = "1.22.0", features = ["full"], optional = true }
|
tokio = { version = "1.22.0", features = ["full"], optional = true }
|
||||||
http = { version = "0.2.8" }
|
http = { version = "0.2.8" }
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.38"
|
||||||
tracing = "0.1.37"
|
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -7,12 +7,10 @@ edition = "2021"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1"
|
|
||||||
actix-files = { version = "0.6", optional = true }
|
actix-files = { version = "0.6", optional = true }
|
||||||
actix-web = { version = "4", optional = true, features = ["macros"] }
|
actix-web = { version = "4", optional = true, features = ["macros"] }
|
||||||
console_log = "0.2"
|
console_log = "0.2"
|
||||||
console_error_panic_hook = "0.1"
|
console_error_panic_hook = "0.1"
|
||||||
futures = "0.3"
|
|
||||||
cfg-if = "1"
|
cfg-if = "1"
|
||||||
leptos = { path = "../../leptos", default-features = false, features = [
|
leptos = { path = "../../leptos", default-features = false, features = [
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -21,15 +19,13 @@ leptos_meta = { path = "../../meta", default-features = false }
|
||||||
leptos_actix = { path = "../../integrations/actix", default-features = false, optional = true }
|
leptos_actix = { path = "../../integrations/actix", default-features = false, optional = true }
|
||||||
leptos_router = { path = "../../router", default-features = false }
|
leptos_router = { path = "../../router", default-features = false }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
simple_logger = "4.0.0"
|
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1"
|
|
||||||
gloo-net = { version = "0.2", features = ["http"] }
|
gloo-net = { version = "0.2", features = ["http"] }
|
||||||
reqwest = { version = "0.11", features = ["json"] }
|
reqwest = { version = "0.11", features = ["json"] }
|
||||||
|
tracing = "0.1"
|
||||||
# openssl = { version = "0.10", features = ["v110"] }
|
# openssl = { version = "0.10", features = ["v110"] }
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
web-sys = { version = "0.3", features = ["AbortController", "AbortSignal"] }
|
web-sys = { version = "0.3", features = ["AbortController", "AbortSignal"] }
|
||||||
tracing = "0.1"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
|
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
|
||||||
|
|
|
@ -7,10 +7,8 @@ edition = "2021"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.66"
|
|
||||||
console_log = "0.2.0"
|
console_log = "0.2.0"
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
futures = "0.3.25"
|
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
leptos = { path = "../../leptos", default-features = false, features = [
|
leptos = { path = "../../leptos", default-features = false, features = [
|
||||||
"serde",
|
"serde",
|
||||||
|
@ -21,7 +19,7 @@ leptos_router = { path = "../../router", default-features = false }
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
simple_logger = "4.0.0"
|
simple_logger = "4.0.0"
|
||||||
serde = { version = "1.0.148", features = ["derive"] }
|
serde = { version = "1.0.148", features = ["derive"] }
|
||||||
serde_json = "1.0.89"
|
tracing = "0.1"
|
||||||
gloo-net = { version = "0.2.5", features = ["http"] }
|
gloo-net = { version = "0.2.5", features = ["http"] }
|
||||||
reqwest = { version = "0.11.13", features = ["json"] }
|
reqwest = { version = "0.11.13", features = ["json"] }
|
||||||
axum = { version = "0.6.1", optional = true }
|
axum = { version = "0.6.1", optional = true }
|
||||||
|
@ -31,7 +29,6 @@ tokio = { version = "1.22.0", features = ["full"], optional = true }
|
||||||
http = { version = "0.2.8", optional = true }
|
http = { version = "0.2.8", optional = true }
|
||||||
web-sys = { version = "0.3", features = ["AbortController", "AbortSignal"] }
|
web-sys = { version = "0.3", features = ["AbortController", "AbortSignal"] }
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
tracing = "0.1"
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["csr"]
|
default = ["csr"]
|
||||||
|
|
|
@ -13,19 +13,15 @@ rand = { version = "0.8.5", features = ["min_const_gen"], optional = true }
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
futures = "0.3.25"
|
futures = "0.3.25"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
leptos = { version = "0.2.0", default-features = false, features = [
|
leptos = { path = "../../leptos", default-features = false, features = [
|
||||||
"serde",
|
"serde",
|
||||||
] }
|
] }
|
||||||
leptos_meta = { version = "0.2.0", default-features = false }
|
leptos_meta = { path = "../../meta", default-features = false }
|
||||||
leptos_axum = { version = "0.2.0", optional = true }
|
leptos_axum = { path = "../../integrations/axum", optional = true }
|
||||||
leptos_router = { version = "0.2.0", default-features = false }
|
leptos_router = { path = "../../router", default-features = false }
|
||||||
leptos_reactive = { version = "0.2.0", default-features = false }
|
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
simple_logger = "4.0.0"
|
simple_logger = "4.0.0"
|
||||||
serde = { version = "1.0.148", features = ["derive"] }
|
serde = { version = "1.0.148", features = ["derive"] }
|
||||||
serde_json = "1.0.89"
|
|
||||||
gloo-net = { version = "0.2.5", features = ["http"] }
|
|
||||||
reqwest = { version = "0.11.13", features = ["json"] }
|
|
||||||
axum = { version = "0.6.1", optional = true }
|
axum = { version = "0.6.1", optional = true }
|
||||||
tower = { version = "0.4.13", optional = true }
|
tower = { version = "0.4.13", optional = true }
|
||||||
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
||||||
|
@ -36,12 +32,15 @@ sqlx = { version = "0.6.2", features = [
|
||||||
"sqlite",
|
"sqlite",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.38"
|
||||||
tracing = "0.1.37"
|
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
axum_sessions_auth = { version = "7.0.0", features = [ "sqlite-rustls" ], optional = true }
|
axum_sessions_auth = { version = "7.0.0", features = [
|
||||||
axum_database_sessions = { version = "7.0.0", features = [ "sqlite-rustls" ], optional = true }
|
"sqlite-rustls",
|
||||||
|
], optional = true }
|
||||||
|
axum_database_sessions = { version = "7.0.0", features = [
|
||||||
|
"sqlite-rustls",
|
||||||
|
], optional = true }
|
||||||
bcrypt = { version = "0.14", optional = true }
|
bcrypt = { version = "0.14", optional = true }
|
||||||
async-trait = {version = "0.1.64", optional = true }
|
async-trait = { version = "0.1.64", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["csr"]
|
default = ["csr"]
|
||||||
|
|
|
@ -21,7 +21,6 @@ leptos_actix = { path = "../../integrations/actix", default-features = false, op
|
||||||
leptos_router = { path = "../../router", default-features = false }
|
leptos_router = { path = "../../router", default-features = false }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
simple_logger = "4"
|
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
tokio = { version = "1", features = ["time"] }
|
tokio = { version = "1", features = ["time"] }
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
|
|
|
@ -19,12 +19,11 @@ leptos_axum = { path = "../../integrations/axum", default-features = false, opti
|
||||||
leptos_router = { path = "../../router", default-features = false }
|
leptos_router = { path = "../../router", default-features = false }
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
simple_logger = "4"
|
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
axum = { version = "0.6.1", optional = true }
|
axum = { version = "0.6.1", optional = true }
|
||||||
tower = { version = "0.4.13", optional = true }
|
tower = { version = "0.4.13", optional = true }
|
||||||
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
||||||
tokio = { version = "1", features = ["time"], optional = true}
|
tokio = { version = "1", features = ["time"], optional = true }
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -7,7 +7,6 @@ edition = "2021"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.66"
|
|
||||||
console_log = "0.2.0"
|
console_log = "0.2.0"
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
futures = "0.3.25"
|
futures = "0.3.25"
|
||||||
|
@ -18,13 +17,9 @@ leptos = { path = "../../leptos", default-features = false, features = [
|
||||||
leptos_axum = { path = "../../integrations/axum", default-features = false, optional = true }
|
leptos_axum = { path = "../../integrations/axum", default-features = false, optional = true }
|
||||||
leptos_meta = { path = "../../meta", default-features = false }
|
leptos_meta = { path = "../../meta", default-features = false }
|
||||||
leptos_router = { path = "../../router", default-features = false }
|
leptos_router = { path = "../../router", default-features = false }
|
||||||
leptos_reactive = { path = "../../leptos_reactive", default-features = false }
|
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
simple_logger = "4.0.0"
|
simple_logger = "4.0.0"
|
||||||
serde = { version = "1.0.148", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1.0.89"
|
|
||||||
gloo-net = { version = "0.2.5", features = ["http"] }
|
|
||||||
reqwest = { version = "0.11.13", features = ["json"] }
|
|
||||||
axum = { version = "0.6.1", optional = true }
|
axum = { version = "0.6.1", optional = true }
|
||||||
tower = { version = "0.4.13", optional = true }
|
tower = { version = "0.4.13", optional = true }
|
||||||
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
tower-http = { version = "0.4", features = ["fs"], optional = true }
|
||||||
|
@ -35,7 +30,6 @@ sqlx = { version = "0.6.2", features = [
|
||||||
"sqlite",
|
"sqlite",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.38"
|
||||||
tracing = "0.1.37"
|
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
|
|
@ -7,13 +7,12 @@ edition = "2021"
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.66"
|
|
||||||
console_log = "0.2.0"
|
console_log = "0.2.0"
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
futures = "0.3.25"
|
futures = "0.3.25"
|
||||||
cfg-if = "1.0.0"
|
cfg-if = "1.0.0"
|
||||||
leptos = { path = "../../leptos", default-features = false, features = [
|
leptos = { path = "../../leptos", default-features = false, features = [
|
||||||
"serde",
|
"serde",
|
||||||
] }
|
] }
|
||||||
leptos_viz = { path = "../../integrations/viz", default-features = false, optional = true }
|
leptos_viz = { path = "../../integrations/viz", default-features = false, optional = true }
|
||||||
leptos_meta = { path = "../../meta", default-features = false }
|
leptos_meta = { path = "../../meta", default-features = false }
|
||||||
|
@ -21,19 +20,15 @@ leptos_router = { path = "../../router", default-features = false }
|
||||||
leptos_reactive = { path = "../../leptos_reactive", default-features = false }
|
leptos_reactive = { path = "../../leptos_reactive", default-features = false }
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
simple_logger = "4.0.0"
|
simple_logger = "4.0.0"
|
||||||
serde = { version = "1.0.148", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = "1.0.89"
|
|
||||||
gloo-net = { version = "0.2.5", features = ["http"] }
|
|
||||||
reqwest = { version = "0.11.13", features = ["json"] }
|
|
||||||
viz = { version = "0.4.8", features = ["serve"], optional = true }
|
viz = { version = "0.4.8", features = ["serve"], optional = true }
|
||||||
tokio = { version = "1.25.0", features = ["full"], optional = true }
|
tokio = { version = "1.25.0", features = ["full"], optional = true }
|
||||||
http = { version = "0.2.8" }
|
http = { version = "0.2.8" }
|
||||||
sqlx = { version = "0.6.2", features = [
|
sqlx = { version = "0.6.2", features = [
|
||||||
"runtime-tokio-rustls",
|
"runtime-tokio-rustls",
|
||||||
"sqlite",
|
"sqlite",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
thiserror = "1.0.38"
|
thiserror = "1.0.38"
|
||||||
tracing = "0.1.37"
|
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
@ -47,7 +42,7 @@ ssr = [
|
||||||
"leptos/ssr",
|
"leptos/ssr",
|
||||||
"leptos_meta/ssr",
|
"leptos_meta/ssr",
|
||||||
"leptos_router/ssr",
|
"leptos_router/ssr",
|
||||||
"dep:leptos_viz"
|
"dep:leptos_viz",
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.metadata.cargo-all-features]
|
[package.metadata.cargo-all-features]
|
||||||
|
|
|
@ -15,7 +15,6 @@ hyper = "0.14.23"
|
||||||
leptos = { workspace = true, features = ["ssr"] }
|
leptos = { workspace = true, features = ["ssr"] }
|
||||||
leptos_meta = { workspace = true, features = ["ssr"] }
|
leptos_meta = { workspace = true, features = ["ssr"] }
|
||||||
leptos_router = { workspace = true, features = ["ssr"] }
|
leptos_router = { workspace = true, features = ["ssr"] }
|
||||||
leptos_config = { workspace = true }
|
|
||||||
leptos_integration_utils = { workspace = true }
|
leptos_integration_utils = { workspace = true }
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
parking_lot = "0.12.1"
|
parking_lot = "0.12.1"
|
||||||
|
|
|
@ -12,5 +12,4 @@ futures = "0.3"
|
||||||
leptos = { workspace = true, features = ["ssr"] }
|
leptos = { workspace = true, features = ["ssr"] }
|
||||||
leptos_hot_reload = { workspace = true }
|
leptos_hot_reload = { workspace = true }
|
||||||
leptos_meta = { workspace = true, features = ["ssr"] }
|
leptos_meta = { workspace = true, features = ["ssr"] }
|
||||||
leptos_router = { workspace = true, features = ["ssr"] }
|
|
||||||
leptos_config = { workspace = true }
|
leptos_config = { workspace = true }
|
||||||
|
|
|
@ -15,7 +15,6 @@ hyper = "0.14.23"
|
||||||
leptos = { workspace = true, features = ["ssr"] }
|
leptos = { workspace = true, features = ["ssr"] }
|
||||||
leptos_meta = { workspace = true, features = ["ssr"] }
|
leptos_meta = { workspace = true, features = ["ssr"] }
|
||||||
leptos_router = { workspace = true, features = ["ssr"] }
|
leptos_router = { workspace = true, features = ["ssr"] }
|
||||||
leptos_config = { workspace = true }
|
|
||||||
leptos_integration_utils = { workspace = true }
|
leptos_integration_utils = { workspace = true }
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
parking_lot = "0.12.1"
|
parking_lot = "0.12.1"
|
||||||
|
|
|
@ -10,14 +10,12 @@ crate-type = ["cdylib", "rlib"]
|
||||||
leptos = { path = "../../../leptos", default-features = false }
|
leptos = { path = "../../../leptos", default-features = false }
|
||||||
actix-web = { version = "4", optional = true }
|
actix-web = { version = "4", optional = true }
|
||||||
actix-files = { version = "0.6", optional = true }
|
actix-files = { version = "0.6", optional = true }
|
||||||
wasm-bindgen = { version = "0.2", optional = true}
|
wasm-bindgen = { version = "0.2", optional = true }
|
||||||
gloo = { version = "0.8", optional = true }
|
gloo = { version = "0.8", optional = true }
|
||||||
console_error_panic_hook = "0.1.7"
|
console_error_panic_hook = "0.1.7"
|
||||||
cfg-if = "1.0.0"
|
|
||||||
gloo-timers = { version = "0.2", features = ["futures"] }
|
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["ssr"]
|
default = ["ssr"]
|
||||||
ssr = ["leptos/ssr", "dep:actix-files", "dep:actix-web"]
|
ssr = ["leptos/ssr", "dep:actix-files", "dep:actix-web"]
|
||||||
hydrate = ["leptos/hydrate", "dep:wasm-bindgen", "dep:gloo"]
|
hydrate = ["leptos/hydrate", "dep:wasm-bindgen", "dep:gloo"]
|
||||||
|
|
|
@ -9,7 +9,5 @@ gloo = { version = "0.8", features = ["futures"] }
|
||||||
leptos = { path = "../../../leptos", features = ["tracing"] }
|
leptos = { path = "../../../leptos", features = ["tracing"] }
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = "0.3"
|
tracing-subscriber = "0.3"
|
||||||
wasm-bindgen-futures = "0.4"
|
|
||||||
web-sys = "0.3"
|
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
|
|
|
@ -22,9 +22,7 @@ proc-macro2 = "1"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
syn = { version = "1", features = ["full"] }
|
syn = { version = "1", features = ["full"] }
|
||||||
syn-rsx = "0.9"
|
syn-rsx = "0.9"
|
||||||
leptos_dom = { workspace = true }
|
|
||||||
leptos_hot_reload = { workspace = true }
|
leptos_hot_reload = { workspace = true }
|
||||||
leptos_reactive = { workspace = true }
|
|
||||||
server_fn_macro = { workspace = true }
|
server_fn_macro = { workspace = true }
|
||||||
convert_case = "0.6.0"
|
convert_case = "0.6.0"
|
||||||
uuid = { version = "1", features = ["v4"] }
|
uuid = { version = "1", features = ["v4"] }
|
||||||
|
@ -37,14 +35,10 @@ leptos = { path = "../leptos" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["ssr"]
|
default = ["ssr"]
|
||||||
csr = ["leptos_dom/web", "leptos_reactive/csr"]
|
csr = []
|
||||||
hydrate = ["leptos_dom/web", "leptos_reactive/hydrate"]
|
hydrate = []
|
||||||
ssr = ["leptos_dom/ssr", "leptos_reactive/ssr"]
|
ssr = []
|
||||||
stable = [
|
stable = ["server_fn_macro/stable"]
|
||||||
"leptos_dom/stable",
|
|
||||||
"leptos_reactive/stable",
|
|
||||||
"server_fn_macro/stable",
|
|
||||||
]
|
|
||||||
tracing = []
|
tracing = []
|
||||||
|
|
||||||
[package.metadata.cargo-all-features]
|
[package.metadata.cargo-all-features]
|
||||||
|
|
|
@ -9,39 +9,20 @@ description = "RPC for the Leptos web framework."
|
||||||
readme = "../README.md"
|
readme = "../README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
leptos_dom = { workspace = true }
|
|
||||||
leptos_reactive = { workspace = true }
|
leptos_reactive = { workspace = true }
|
||||||
server_fn = { workspace = true }
|
server_fn = { workspace = true }
|
||||||
lazy_static = "1"
|
lazy_static = "1"
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_urlencoded = "0.7"
|
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
leptos = { path = "../leptos" }
|
leptos = { path = "../leptos" }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
csr = [
|
csr = ["leptos_reactive/csr"]
|
||||||
#"leptos/csr",
|
hydrate = ["leptos_reactive/hydrate"]
|
||||||
"leptos_dom/web",
|
ssr = ["leptos_reactive/ssr", "server_fn/ssr"]
|
||||||
"leptos_reactive/csr",
|
stable = ["leptos_reactive/stable", "server_fn/stable"]
|
||||||
]
|
|
||||||
hydrate = [
|
|
||||||
#"leptos/hydrate",
|
|
||||||
"leptos_dom/web",
|
|
||||||
"leptos_reactive/hydrate",
|
|
||||||
]
|
|
||||||
ssr = [
|
|
||||||
#"leptos/ssr",
|
|
||||||
"leptos_reactive/ssr",
|
|
||||||
"server_fn/ssr",
|
|
||||||
]
|
|
||||||
stable = [
|
|
||||||
#"leptos/stable",
|
|
||||||
"leptos_dom/stable",
|
|
||||||
"leptos_reactive/stable",
|
|
||||||
"server_fn/stable",
|
|
||||||
]
|
|
||||||
|
|
||||||
[package.metadata.cargo-all-features]
|
[package.metadata.cargo-all-features]
|
||||||
denylist = ["stable"]
|
denylist = ["stable"]
|
||||||
|
|
|
@ -11,7 +11,6 @@ description = "Tools to set HTML metadata in the Leptos web framework."
|
||||||
cfg-if = "1"
|
cfg-if = "1"
|
||||||
leptos = { workspace = true }
|
leptos = { workspace = true }
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
typed-builder = "0.14"
|
|
||||||
wasm-bindgen = "0.2"
|
wasm-bindgen = "0.2"
|
||||||
|
|
||||||
[dependencies.web-sys]
|
[dependencies.web-sys]
|
||||||
|
|
|
@ -10,7 +10,6 @@ readme = "../README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
server_fn_macro_default = { workspace = true }
|
server_fn_macro_default = { workspace = true }
|
||||||
form_urlencoded = "1"
|
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_urlencoded = "0.7"
|
serde_urlencoded = "0.7"
|
||||||
thiserror = "1"
|
thiserror = "1"
|
||||||
|
@ -18,7 +17,6 @@ serde_json = "1.0.89"
|
||||||
quote = "1"
|
quote = "1"
|
||||||
syn = { version = "1", features = ["full", "parsing", "extra-traits"] }
|
syn = { version = "1", features = ["full", "parsing", "extra-traits"] }
|
||||||
proc-macro2 = "1"
|
proc-macro2 = "1"
|
||||||
cfg-if = "1"
|
|
||||||
ciborium = "0.2.0"
|
ciborium = "0.2.0"
|
||||||
xxhash-rust = { version = "0.8.6", features = ["const_xxh64"] }
|
xxhash-rust = { version = "0.8.6", features = ["const_xxh64"] }
|
||||||
const_format = "0.2.30"
|
const_format = "0.2.30"
|
||||||
|
|
|
@ -11,7 +11,6 @@ description = "The default implementation of the server_fn macro without a conte
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
proc-macro2 = "1"
|
|
||||||
syn = { version = "1", features = ["full"] }
|
syn = { version = "1", features = ["full"] }
|
||||||
server_fn_macro = { workspace = true }
|
server_fn_macro = { workspace = true }
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,6 @@ readme = "../README.md"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_urlencoded = "0.7"
|
|
||||||
serde_json = "1.0.89"
|
|
||||||
quote = "1"
|
quote = "1"
|
||||||
syn = { version = "1", features = ["full", "parsing", "extra-traits"] }
|
syn = { version = "1", features = ["full", "parsing", "extra-traits"] }
|
||||||
proc-macro2 = "1"
|
proc-macro2 = "1"
|
||||||
|
|
Loading…
Reference in a new issue