handle ctrl+c in containers

This commit is contained in:
Sebastian Hugentobler 2024-05-10 17:55:19 +02:00
parent fd7f551726
commit fd942bb416
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
3 changed files with 23 additions and 4 deletions

10
Cargo.lock generated
View file

@ -1511,6 +1511,15 @@ dependencies = [
"lazy_static",
]
[[package]]
name = "signal-hook-registry"
version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1"
dependencies = [
"libc",
]
[[package]]
name = "siphasher"
version = "0.3.11"
@ -1679,6 +1688,7 @@ dependencies = [
"mio",
"num_cpus",
"pin-project-lite",
"signal-hook-registry",
"socket2",
"tokio-macros",
"windows-sys 0.48.0",