Skip to content

Commit

Permalink
Enable only necessary features for tokio
Browse files Browse the repository at this point in the history
Signed-off-by: Daiki Ueno <[email protected]>
  • Loading branch information
ueno committed Jun 28, 2023
1 parent a5acc5e commit 789ad76
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 52 deletions.
40 changes: 0 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ default = ["tokio-uring"]
[dependencies]
anyhow = "1.0"
bytes = "1.2"
clap = { version = "4", features=["cargo", "derive"] }
clap = { version = "4", features = ["cargo", "derive"] }
crypto-auditing = { path = "../crypto-auditing" }
futures = "0.3"
libbpf-rs = { version = "0.20", features=["novendor"] }
libbpf-rs = { version = "0.20", features = ["novendor"] }
libc = "0.2"
nix = "0.26"
openssl = "0.10"
page_size = "0.5"
serde = "1.0"
serde_cbor = "0.10"
time = { version = "0.3", features=["formatting", "local-offset", "macros"] }
tokio = { version = "1.23", features=["full"] }
time = { version = "0.3", features = ["formatting", "local-offset", "macros"] }
tokio = { version = "1.23", features = ["io-util", "signal"] }
tokio-uring = { version = "0.4", optional = true }
toml = "0.6"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features=["env-filter"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

[build-dependencies]
libbpf-cargo = { version = "0.20", features=["novendor"] }
libbpf-cargo = { version = "0.20", features = ["novendor"] }
6 changes: 3 additions & 3 deletions client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ authors = ["The crypto-auditing developers"]

[dependencies]
anyhow = "1.0"
clap = { version = "4", features=["derive"] }
clap = { version = "4", features = ["derive"] }
crypto-auditing = { path = "../crypto-auditing" }
futures = "0.3"
serde_cbor = "0.10"
serde_json = "1.0"
tokio = "1.23"
tokio = { version = "1.23", features = ["macros", "rt", "rt-multi-thread"] }
toml = "0.6"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features=["env-filter"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
6 changes: 3 additions & 3 deletions event-broker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ inotify = "0.10"
libsystemd = { version = "0.6", optional = true }
serde_cbor = "0.10"
tarpc = { version = "0.33", features = ["serde-transport", "unix"] }
tokio = "1.23"
tokio-serde = { version = "0.8", features=["cbor"] }
tokio = { version = "1.23", features = ["macros", "rt", "rt-multi-thread"] }
tokio-serde = { version = "0.8", features = ["cbor"] }
tokio-stream = "0.1"
toml = "0.6"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features=["env-filter"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }

0 comments on commit 789ad76

Please sign in to comment.