Skip to content

Commit 950097a

Browse files
authored
chore: dependencies: remove tokio's "sync" feature ( unused ) (#260)
* chore: remove unused feature tokio/sync * enable tokio/sync in graceful
1 parent c224908 commit 950097a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: ohkami/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ features = ["rt_tokio", "nightly", "sse", "ws"]
2121
ohkami_lib = { version = "=0.2.5", path = "../ohkami_lib" }
2222
ohkami_macros = { version = "=0.8.0", path = "../ohkami_macros" }
2323

24-
tokio = { version = "1", optional = true, features = ["net", "rt", "io-util", "sync", "time"] }
24+
tokio = { version = "1", optional = true, features = ["net", "rt", "io-util", "time"] }
2525
async-std = { version = "1", optional = true }
2626
smol = { version = "2", optional = true }
2727
glommio = { version = "0.9", optional = true }
@@ -54,7 +54,7 @@ nightly = []
5454
testing = []
5555
sse = ["ohkami_lib/stream"]
5656
ws = ["dep:sha1"]
57-
graceful = ["rt_tokio", "tokio/signal", "tokio/macros"]
57+
graceful = ["tokio?/sync", "tokio?/signal", "tokio?/macros"]
5858
ip = []
5959

6060
##### internal #####

0 commit comments

Comments
 (0)