Skip to content

Commit 2c0c0a2

Browse files
convex-renovate-runner[bot]Convex, Inc.
authored andcommitted
Update Rust crate governor to 0.8.0 (#33900)
This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [governor](https://redirect.github.com/boinkor-net/governor) | workspace.dependencies | minor | `0.6.0` -> `0.8.0` | `0.10.0` (+1) | --- ### Release Notes <details> <summary>boinkor-net/governor (governor)</summary> ### [`v0.8.1`](https://redirect.github.com/boinkor-net/governor/releases/tag/v0.8.1): governor v0.8.1 [Compare Source](https://redirect.github.com/boinkor-net/governor/compare/v0.8.0...v0.8.1) ### [`v0.8.0`](https://redirect.github.com/boinkor-net/governor/releases/tag/v0.8.0): governor v0.8.0 [Compare Source](https://redirect.github.com/boinkor-net/governor/compare/v0.7.0...v0.8.0) ### [`v0.7.0`](https://redirect.github.com/boinkor-net/governor/releases/tag/v0.7.0): governor v0.7.0 [Compare Source](https://redirect.github.com/boinkor-net/governor/compare/v0.6.4...v0.7.0) ### [`v0.6.4`](https://redirect.github.com/boinkor-net/governor/releases/tag/v0.6.4): governor v0.6.4 [Compare Source](https://redirect.github.com/boinkor-net/governor/compare/v0.6.3...v0.6.4) ### [`v0.6.3`](https://redirect.github.com/boinkor-net/governor/releases/tag/v0.6.3): governor v0.6.3 [Compare Source](https://redirect.github.com/boinkor-net/governor/compare/v0.6.1...v0.6.3) ### [`v0.6.1`](https://redirect.github.com/boinkor-net/governor/releases/tag/v0.6.1): governor v0.6.1 [Compare Source](https://redirect.github.com/boinkor-net/governor/compare/v0.6.0...v0.6.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). GitOrigin-RevId: d2bd1a6bbdd88971642ae99b998f32e87ba2f018
1 parent 67649b4 commit 2c0c0a2

File tree

4 files changed

+67
-72
lines changed

4 files changed

+67
-72
lines changed

Cargo.lock

Lines changed: 56 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ flate2 = { version = "1", features = [ "zlib-ng" ] }
6363
futures = "0.3"
6464
futures-async-stream = "0.2.11"
6565
futures-util = "0.3.30"
66-
governor = "0.6.0"
66+
governor = "0.10.0"
6767
hdrhistogram = "7.5.4"
6868
headers = "0.4"
6969
hex = "0.4"

crates/common/src/runtime/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,14 +367,14 @@ pub type KeyedRateLimiter<K, RT> = governor::RateLimiter<
367367
>;
368368

369369
pub fn new_rate_limiter<RT: Runtime>(runtime: RT, quota: Quota) -> RateLimiter<RT> {
370-
RateLimiter::direct_with_clock(quota, &RuntimeClock { runtime })
370+
RateLimiter::direct_with_clock(quota, RuntimeClock { runtime })
371371
}
372372

373373
pub fn new_keyed_rate_limiter<RT: Runtime, K: Hash + Eq + Clone>(
374374
runtime: RT,
375375
quota: Quota,
376376
) -> KeyedRateLimiter<K, RT> {
377-
KeyedRateLimiter::dashmap_with_clock(quota, &RuntimeClock { runtime })
377+
KeyedRateLimiter::dashmap_with_clock(quota, RuntimeClock { runtime })
378378
}
379379

380380
#[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]

crates/convex/Cargo.oss.lock

Lines changed: 8 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -753,9 +753,9 @@ checksum = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704"
753753

754754
[[package]]
755755
name = "lock_api"
756-
version = "0.4.9"
756+
version = "0.4.12"
757757
source = "registry+https://github.com/rust-lang/crates.io-index"
758-
checksum = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
758+
checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17"
759759
dependencies = [
760760
"autocfg",
761761
"scopeguard",
@@ -948,15 +948,15 @@ dependencies = [
948948

949949
[[package]]
950950
name = "parking_lot_core"
951-
version = "0.9.7"
951+
version = "0.9.10"
952952
source = "registry+https://github.com/rust-lang/crates.io-index"
953-
checksum = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521"
953+
checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8"
954954
dependencies = [
955955
"cfg-if",
956956
"libc",
957957
"redox_syscall",
958958
"smallvec",
959-
"windows-sys 0.45.0",
959+
"windows-targets 0.52.6",
960960
]
961961

962962
[[package]]
@@ -1137,11 +1137,11 @@ dependencies = [
11371137

11381138
[[package]]
11391139
name = "redox_syscall"
1140-
version = "0.2.16"
1140+
version = "0.5.10"
11411141
source = "registry+https://github.com/rust-lang/crates.io-index"
1142-
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
1142+
checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1"
11431143
dependencies = [
1144-
"bitflags 1.3.2",
1144+
"bitflags 2.6.0",
11451145
]
11461146

11471147
[[package]]
@@ -1863,15 +1863,6 @@ dependencies = [
18631863
"windows_x86_64_msvc 0.42.2",
18641864
]
18651865

1866-
[[package]]
1867-
name = "windows-sys"
1868-
version = "0.45.0"
1869-
source = "registry+https://github.com/rust-lang/crates.io-index"
1870-
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
1871-
dependencies = [
1872-
"windows-targets 0.42.2",
1873-
]
1874-
18751866
[[package]]
18761867
name = "windows-sys"
18771868
version = "0.48.0"
@@ -1899,21 +1890,6 @@ dependencies = [
18991890
"windows-targets 0.52.6",
19001891
]
19011892

1902-
[[package]]
1903-
name = "windows-targets"
1904-
version = "0.42.2"
1905-
source = "registry+https://github.com/rust-lang/crates.io-index"
1906-
checksum = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
1907-
dependencies = [
1908-
"windows_aarch64_gnullvm 0.42.2",
1909-
"windows_aarch64_msvc 0.42.2",
1910-
"windows_i686_gnu 0.42.2",
1911-
"windows_i686_msvc 0.42.2",
1912-
"windows_x86_64_gnu 0.42.2",
1913-
"windows_x86_64_gnullvm 0.42.2",
1914-
"windows_x86_64_msvc 0.42.2",
1915-
]
1916-
19171893
[[package]]
19181894
name = "windows-targets"
19191895
version = "0.48.0"

0 commit comments

Comments
 (0)