Skip to content

Commit 616f6e5

Browse files
authored
deps: remove signal and process tokio features wherever possible. (#111)
## Description process is needed for android, singal is not needed at all. I guess this is from back when we split stuff... ## Breaking Changes None unless you count possible weird feature unification things. ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [ ] Self-review. - [ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented.
1 parent b46a82d commit 616f6e5

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

netwatch/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ tokio = { version = "1", features = [
4646
"net",
4747
"fs",
4848
"io-std",
49-
"signal",
50-
"process",
5149
"time",
5250
] }
5351

@@ -64,6 +62,7 @@ netlink-sys = "0.8.7"
6462

6563
[target.'cfg(target_os = "android")'.dependencies]
6664
derive_more = { version = "2.0.1", features = ["display"] }
65+
tokio = { version = "1", features = ["process"] }
6766

6867
[target.'cfg(target_os = "windows")'.dependencies]
6968
wmi = "0.18"

portmapper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ serde = { version = "1.0.185", features = ["derive", "rc"] }
3232
smallvec = "1.11.1"
3333
socket2 = "0.6"
3434
time = "0.3.20"
35-
tokio = { version = "1", features = ["io-util", "macros", "sync", "rt", "net", "fs", "io-std", "signal", "process"] }
35+
tokio = { version = "1", features = ["io-util", "macros", "sync", "rt", "net", "fs", "io-std"] }
3636
tokio-util = { version = "0.7", features = ["io-util", "io", "codec", "rt"] }
3737
tracing = "0.1"
3838
url = { version = "2.5", features = ["serde"] }

0 commit comments

Comments
 (0)