Add tokio/rt feature only if task feature is enabled
This commit is contained in:
parent
8a74ade6a6
commit
09d7e51345
@ -8,7 +8,7 @@ homepage.workspace = true
|
|||||||
repository.workspace = true
|
repository.workspace = true
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
task = ["tokio/time"]
|
task = ["tokio/rt", "tokio/time"]
|
||||||
fs = ["tokio/fs"]
|
fs = ["tokio/fs"]
|
||||||
net = ["tokio/net"]
|
net = ["tokio/net"]
|
||||||
|
|
||||||
@ -18,4 +18,4 @@ luaffi = { path = "../luaffi" }
|
|||||||
luajit = { path = "../luajit" }
|
luajit = { path = "../luajit" }
|
||||||
sysexits = "0.9.0"
|
sysexits = "0.9.0"
|
||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
tokio = { version = "1.45.1", features = ["rt"] }
|
tokio = { version = "1.45.1" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user