mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
remove unneeded additional subsecond features
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -3764,7 +3764,6 @@ dependencies = [
|
||||
"sledgehammer_bindgen",
|
||||
"sledgehammer_utils",
|
||||
"slotmap",
|
||||
"subsecond",
|
||||
"throw_error",
|
||||
"tokio",
|
||||
"tokio-test",
|
||||
|
||||
@@ -106,16 +106,14 @@ trace-component-props = [
|
||||
delegation = ["tachys/delegation"]
|
||||
islands-router = ["tachys/mark_branches"]
|
||||
subsecond = [
|
||||
"leptos_macro/subsecond",
|
||||
"tachys/subsecond",
|
||||
"reactive_graph/subsecond",
|
||||
"dep:subsecond",
|
||||
"dep:dioxus-cli-config",
|
||||
"dep:dioxus-devtools",
|
||||
"web-sys/Location",
|
||||
"web-sys/MessageEvent",
|
||||
"web-sys/WebSocket",
|
||||
"web-sys/Window"
|
||||
"reactive_graph/subsecond",
|
||||
"dep:subsecond",
|
||||
"dep:dioxus-cli-config",
|
||||
"dep:dioxus-devtools",
|
||||
"web-sys/Location",
|
||||
"web-sys/MessageEvent",
|
||||
"web-sys/WebSocket",
|
||||
"web-sys/Window",
|
||||
]
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -56,7 +56,6 @@ trace-component-props = []
|
||||
actix = ["server_fn_macro/actix"]
|
||||
axum = ["server_fn_macro/axum"]
|
||||
generic = ["server_fn_macro/generic"]
|
||||
subsecond = []
|
||||
# Having an erasure feature rather than normal --cfg erase_components for the proc macro crate is a workaround for this rust issue:
|
||||
# https://github.com/rust-lang/cargo/issues/4423
|
||||
# TLDR proc macros will ignore RUSTFLAGS when --target is specified on the cargo command.
|
||||
|
||||
@@ -334,12 +334,6 @@ fn view_macro_impl(tokens: TokenStream, template: bool) -> TokenStream {
|
||||
template,
|
||||
);
|
||||
|
||||
let nodes_output = if cfg!(feature = "subsecond") && false {
|
||||
nodes_output.map(|n| quote! { || #n })
|
||||
} else {
|
||||
nodes_output
|
||||
};
|
||||
|
||||
// The allow lint needs to be put here instead of at the expansion of
|
||||
// view::attribute_value(). Adding this next to the expanded expression
|
||||
// seems to break rust-analyzer, but it works when the allow is put here.
|
||||
|
||||
@@ -26,7 +26,6 @@ erased = { workspace = true, default-features = true }
|
||||
wasm-bindgen = { workspace = true, default-features = true }
|
||||
html-escape = { workspace = true, default-features = true }
|
||||
js-sys = { workspace = true, default-features = true }
|
||||
subsecond = { workspace = true, default-features = true, optional = true }
|
||||
web-sys = { features = [
|
||||
"Window",
|
||||
"Document",
|
||||
@@ -190,7 +189,6 @@ reactive_stores = ["reactive_graph", "dep:reactive_stores"]
|
||||
sledgehammer = ["dep:sledgehammer_bindgen", "dep:sledgehammer_utils"]
|
||||
tracing = ["dep:tracing"]
|
||||
mark_branches = []
|
||||
subsecond = ["dep:subsecond"]
|
||||
|
||||
[package.metadata.cargo-all-features]
|
||||
denylist = ["tracing", "sledgehammer"]
|
||||
|
||||
Reference in New Issue
Block a user