mirror of
https://github.com/arampoire/onetun.git
synced 2025-12-01 03:00:25 -05:00
Minimize tokio features
This commit is contained in:
parent
1a560434d4
commit
8c1bdb1700
2 changed files with 4 additions and 50 deletions
|
|
@ -14,7 +14,7 @@ repository = "https://github.com/aramperes/onetun"
|
|||
boringtun = { version = "0.4.0", default-features = false }
|
||||
log = "0.4"
|
||||
anyhow = "1"
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tokio = { version = "1", features = [ "rt", "sync", "io-util", "net", "time", "fs", "macros" ] }
|
||||
futures = "0.3.17"
|
||||
rand = "0.8.4"
|
||||
nom = "7"
|
||||
|
|
@ -29,6 +29,6 @@ pretty_env_logger = { version = "0.4", optional = true }
|
|||
[features]
|
||||
pcap = []
|
||||
default = [ "bin" ]
|
||||
bin = [ "clap", "pretty_env_logger", "pcap" ]
|
||||
bin = [ "clap", "pretty_env_logger", "pcap", "tokio/rt-multi-thread" ]
|
||||
|
||||
[lib]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue