summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-12-10 11:13:10 +0100
committerNora Widdecke <nora@sequoia-pgp.org>2021-12-10 21:04:19 +0100
commitcfcf4b19311ace6e1ed9994bc9488f48a69474c3 (patch)
tree980fb2cc931ad6d554245021d3eb20e42f3ad704
parentcf4c70b46040a53bf3992a124ba70b1b1ca852f1 (diff)
ipc: Reduce tokio features.
-rw-r--r--Cargo.lock12
-rw-r--r--ipc/Cargo.toml2
2 files changed, 1 insertions, 13 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 1b3b6074..ca97e8e5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2877,15 +2877,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2"
[[package]]
-name = "signal-hook-registry"
-version = "1.4.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e51e73328dc4ac0c7ccbda3a494dfa03df1de2f46018127f60c693f2648455b0"
-dependencies = [
- "libc",
-]
-
-[[package]]
name = "signature"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3296,10 +3287,7 @@ dependencies = [
"memchr",
"mio",
"num_cpus",
- "once_cell",
- "parking_lot",
"pin-project-lite",
- "signal-hook-registry",
"tokio-macros",
"winapi",
]
diff --git a/ipc/Cargo.toml b/ipc/Cargo.toml
index aeea85fa..265592b8 100644
--- a/ipc/Cargo.toml
+++ b/ipc/Cargo.toml
@@ -34,7 +34,7 @@ memsec = { version = ">=0.5", default-features = false }
rand = { version = "0.7" }
tempfile = "3.1"
thiserror = "1.0.2"
-tokio = { version = "1.13.1", features = ["full"] }
+tokio = { version = "1.13.1", features = [ "rt-multi-thread", "io-util", "net" ] }
tokio-util = { version = "0.6", features = ["compat"] }
socket2 = "0.3.16"
dirs = "2.0"