"lib/bindings/python/vscode:/vscode.git/clone" did not exist on "d96a2cf1dfe0758a1a039789c6f43435547a3545"
Unverified Commit f308a3d3 authored by Anant Sharma's avatar Anant Sharma Committed by GitHub
Browse files

ci: add rust check to keep lockfiles updated (#6278)


Signed-off-by: default avatarAnant Sharma <anants@nvidia.com>
parent 4e50a3f3
...@@ -131,6 +131,9 @@ jobs: ...@@ -131,6 +131,9 @@ jobs:
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with: with:
lfs: true lfs: true
- name: Verify Cargo lock file is in sync
working-directory: ${{ matrix.dir }}
run: cargo metadata --locked --format-version 1
- name: Set up system dependencies - name: Set up system dependencies
run: | run: |
# Install protoc for Rust build dependencies (NOTE: much faster than apt install) # Install protoc for Rust build dependencies (NOTE: much faster than apt install)
......
...@@ -1604,8 +1604,11 @@ version = "0.9.0" ...@@ -1604,8 +1604,11 @@ version = "0.9.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
"dashmap 6.1.0",
"dynamo-runtime", "dynamo-runtime",
"dynamo-tokens", "dynamo-tokens",
"flume",
"parking_lot",
"prometheus", "prometheus",
"rand 0.9.2", "rand 0.9.2",
"serde", "serde",
...@@ -1749,6 +1752,7 @@ dependencies = [ ...@@ -1749,6 +1752,7 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"tokio", "tokio",
"tokio-timerfd",
"tokio-util", "tokio-util",
"tracing", "tracing",
"uuid", "uuid",
...@@ -2097,6 +2101,9 @@ name = "fastrand" ...@@ -2097,6 +2101,9 @@ name = "fastrand"
version = "2.3.0" version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
dependencies = [
"getrandom 0.2.16",
]
[[package]] [[package]]
name = "fax" name = "fax"
...@@ -2185,6 +2192,18 @@ dependencies = [ ...@@ -2185,6 +2192,18 @@ dependencies = [
"miniz_oxide", "miniz_oxide",
] ]
[[package]]
name = "flume"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e139bc46ca777eb5efaf62df0ab8cc5fd400866427e56c68b22e414e53bd3be"
dependencies = [
"fastrand",
"futures-core",
"futures-sink",
"spin",
]
[[package]] [[package]]
name = "fnv" name = "fnv"
version = "1.0.7" version = "1.0.7"
...@@ -3691,6 +3710,12 @@ dependencies = [ ...@@ -3691,6 +3710,12 @@ dependencies = [
"zlib-rs", "zlib-rs",
] ]
[[package]]
name = "linux-raw-sys"
version = "0.4.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
[[package]] [[package]]
name = "linux-raw-sys" name = "linux-raw-sys"
version = "0.11.0" version = "0.11.0"
...@@ -6118,6 +6143,19 @@ dependencies = [ ...@@ -6118,6 +6143,19 @@ dependencies = [
"semver", "semver",
] ]
[[package]]
name = "rustix"
version = "0.38.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
dependencies = [
"bitflags 2.10.0",
"errno",
"libc",
"linux-raw-sys 0.4.15",
"windows-sys 0.59.0",
]
[[package]] [[package]]
name = "rustix" name = "rustix"
version = "1.1.2" version = "1.1.2"
...@@ -6127,7 +6165,7 @@ dependencies = [ ...@@ -6127,7 +6165,7 @@ dependencies = [
"bitflags 2.10.0", "bitflags 2.10.0",
"errno", "errno",
"libc", "libc",
"linux-raw-sys", "linux-raw-sys 0.11.0",
"windows-sys 0.61.2", "windows-sys 0.61.2",
] ]
...@@ -6737,6 +6775,15 @@ dependencies = [ ...@@ -6737,6 +6775,15 @@ dependencies = [
"winapi 0.3.9", "winapi 0.3.9",
] ]
[[package]]
name = "spin"
version = "0.9.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
dependencies = [
"lock_api",
]
[[package]] [[package]]
name = "spki" name = "spki"
version = "0.7.3" version = "0.7.3"
...@@ -6923,7 +6970,7 @@ dependencies = [ ...@@ -6923,7 +6970,7 @@ dependencies = [
"fastrand", "fastrand",
"getrandom 0.3.4", "getrandom 0.3.4",
"once_cell", "once_cell",
"rustix", "rustix 1.1.2",
"windows-sys 0.61.2", "windows-sys 0.61.2",
] ]
...@@ -7023,6 +7070,15 @@ dependencies = [ ...@@ -7023,6 +7070,15 @@ dependencies = [
"time-core", "time-core",
] ]
[[package]]
name = "timerfd"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84e482e368cf7efa2c8b570f476e5b9fd9fd5e9b9219fc567832b05f13511091"
dependencies = [
"rustix 0.38.44",
]
[[package]] [[package]]
name = "tiny-keccak" name = "tiny-keccak"
version = "2.0.2" version = "2.0.2"
...@@ -7164,6 +7220,19 @@ dependencies = [ ...@@ -7164,6 +7220,19 @@ dependencies = [
"tokio", "tokio",
] ]
[[package]]
name = "tokio-timerfd"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87eecdae9a9b793843b1df7a64bc136f203443c1ca9889b3c4a39590afa51094"
dependencies = [
"futures-core",
"libc",
"slab",
"timerfd",
"tokio",
]
[[package]] [[package]]
name = "tokio-util" name = "tokio-util"
version = "0.7.17" version = "0.7.17"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment