fix: make any_spawner optional and dependent on the reactive_graph feature (#2858)

This commit is contained in:
Tomer Hanochi 2024-08-18 23:32:20 +03:00 committed by GitHub
parent fcdfd617f5
commit 78dc8b4410
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ edition.workspace = true
[dependencies]
throw_error = { workspace = true }
any_spawner = { workspace = true }
any_spawner = { workspace = true, optional = true }
const_str_slice_concat = { workspace = true }
either_of = { workspace = true }
next_tuple = { workspace = true }
@ -175,6 +175,6 @@ ssr = []
oco = ["dep:oco_ref"]
nightly = ["reactive_graph/nightly"]
testing = ["dep:slotmap"]
reactive_graph = ["dep:reactive_graph"]
reactive_graph = ["dep:reactive_graph", "dep:any_spawner"]
sledgehammer = ["dep:sledgehammer_bindgen", "dep:sledgehammer_utils"]
tracing = ["dep:tracing"]