diff --git a/Cargo.lock b/Cargo.lock index f2de34c6d..f8d730c10 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,7 +28,7 @@ dependencies = [ "actix-http", "actix-web", "futures", - "governor", + "governor 0.5.1", ] [[package]] @@ -2017,7 +2017,25 @@ dependencies = [ "no-std-compat", "nonzero_ext", "parking_lot 0.12.1", - "quanta", + "quanta 0.9.3", + "rand", + "smallvec", +] + +[[package]] +name = "governor" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "821239e5672ff23e2a7060901fa622950bbd80b649cdaadd78d1c1767ed14eb4" +dependencies = [ + "cfg-if", + "dashmap", + "futures", + "futures-timer", + "no-std-compat", + "nonzero_ext", + "parking_lot 0.12.1", + "quanta 0.11.1", "rand", "smallvec", ] @@ -2765,6 +2783,15 @@ dependencies = [ "libc", ] +[[package]] +name = "mach2" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d0d1830bcd151a6fc4aea1369af235b36c1528fe976b8ff678683c9995eade8" +dependencies = [ + "libc", +] + [[package]] name = "maplit" version = "1.0.2" @@ -3824,7 +3851,7 @@ dependencies = [ "flexi_logger", "futures", "futures-util", - "governor", + "governor 0.6.0", "grex", "gzp", "hashbrown 0.14.0", @@ -3966,6 +3993,22 @@ dependencies = [ "winapi", ] +[[package]] +name = "quanta" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a17e662a7a8291a865152364c20c7abc5e60486ab2001e8ec10b24862de0b9ab" +dependencies = [ + "crossbeam-utils", + "libc", + "mach2", + "once_cell", + "raw-cpuid", + "wasi 0.11.0+wasi-snapshot-preview1", + "web-sys", + "winapi", +] + [[package]] name = "quick-xml" version = "0.23.1" diff --git a/Cargo.toml b/Cargo.toml index 00b1e267b..7201c5247 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -98,7 +98,7 @@ flexi_logger = { version = "0.25", features = [ ], default-features = false } futures = "0.3" futures-util = "0.3" -governor = { version = "0.5", optional = true } +governor = { version = "0.6", optional = true } grex = { version = "1.4", default-features = false } gzp = { version = "0.11", default-features = false, features = [ "snappy_default",