Skip to content

Commit 276e0e9

Browse files
authored
chore: bump deps
1 parent 5cc1d33 commit 276e0e9

File tree

16 files changed

+4072
-3271
lines changed

16 files changed

+4072
-3271
lines changed

.github/workflows/jwst-asan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
- name: Setup Rust
3131
uses: ./.github/actions/setup-rust
3232
with:
33-
toolchain: nightly-2023-08-19
33+
toolchain: nightly-2024-10-18
3434

3535
- name: Memory Check
3636
run: |
37-
rustup component add rust-src --toolchain nightly-2023-08-19
38-
cargo +nightly-2023-08-19 test -Zbuild-std --target x86_64-unknown-linux-gnu -p jwst-codec --lib
37+
rustup component add rust-src --toolchain nightly-2024-10-18
38+
cargo +nightly-2024-10-18 test -Zbuild-std --target x86_64-unknown-linux-gnu -p jwst-codec --lib

.github/workflows/jwst-memory-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
- name: Setup Rust
3131
uses: ./.github/actions/setup-rust
3232
with:
33-
toolchain: nightly-2023-08-19
33+
toolchain: nightly-2024-10-18
3434
components: miri
3535
- name: Install latest nextest release
3636
uses: taiki-e/install-action@nextest
3737

3838
- name: Miri Code Check
3939
run: |
40-
cargo +nightly-2023-08-19 miri nextest run -p jwst-codec -j2
40+
cargo +nightly-2024-10-18 miri nextest run -p jwst-codec -j2

.github/workflows/jwst.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ jobs:
374374
CARGO_TERM_COLOR: always
375375

376376
- name: Upload analysis results to GitHub
377-
uses: github/codeql-action/upload-sarif@v2
377+
uses: github/codeql-action/upload-sarif@v3
378378
with:
379379
sarif_file: rust-clippy-results.sarif
380380
wait-for-processing: true
@@ -438,7 +438,7 @@ jobs:
438438
- name: Setup Rust
439439
uses: ./.github/actions/setup-rust
440440
with:
441-
toolchain: nightly-2023-08-19
441+
toolchain: nightly-2024-10-18
442442

443443
- name: fuzzing
444444
working-directory: ./libs/jwst-codec-utils
@@ -458,7 +458,7 @@ jobs:
458458
459459
- name: upload fuzz artifacts
460460
if: ${{ failure() }}
461-
uses: actions/upload-artifact@v3
461+
uses: actions/upload-artifact@v4
462462
with:
463463
name: fuzz-artifact
464464
path: ./lib/jwst-codec-utils/fuzz/artifacts/**/*

Cargo.lock

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

apps/keck/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jwst = [
1717
]
1818
api = ["utoipa"]
1919
schema = ["utoipa-swagger-ui"]
20+
sqlite = []
2021

2122
[dependencies]
2223
axum = { version = "0.6.20", features = ["headers", "ws"] }

libs/jwst-codec/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ ordered-float = { version = "4.1", features = ["arbitrary"] }
4949

5050
[target.'cfg(loom)'.dependencies]
5151
loom = { version = "0.7", features = ["checkpoint"] }
52+
# override the dev-dependencies feature
53+
async-lock = { version = "3.4.0", features = ["loom"] }
5254

5355
[dev-dependencies]
5456
assert-json-diff = "2.0"
@@ -57,8 +59,8 @@ lib0 = { version = "0.16", features = ["lib0-serde"] }
5759
ordered-float = { version = "4.1", features = ["proptest"] }
5860
path-ext = "0.1"
5961
proptest = "1.3"
60-
proptest-derive = "0.4"
61-
yrs = "=0.16.5"
62+
proptest-derive = "0.5"
63+
yrs = "=0.22.0"
6264

6365
[lints.rust]
6466
unexpected_cfgs = { level = "warn", check-cfg = [

libs/jwst-codec/src/doc/awareness.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ mod tests {
173173
states.insert(0, AwarenessState::new(2, "test0".to_string()));
174174
states.insert(1, AwarenessState::new(2, "test1".to_string()));
175175
awareness.apply_update(states);
176-
assert_eq!(awareness.get_states().contains_key(&1), true);
176+
assert!(awareness.get_states().contains_key(&1));
177177

178178
// local state will not apply
179179
assert_eq!(awareness.get_states().get(&0).unwrap().content, "null".to_string());
@@ -218,7 +218,7 @@ mod tests {
218218
assert_eq!(event.updated, [1]);
219219

220220
assert_eq!(
221-
event.get_updated(&awareness.get_states()).get(&1).unwrap(),
221+
event.get_updated(awareness.get_states()).get(&1).unwrap(),
222222
&AwarenessState::new(3, "test update".to_string())
223223
);
224224

libs/jwst-codec/src/doc/codec/any.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ impl Display for Any {
523523
match self {
524524
Self::True => write!(f, "true"),
525525
Self::False => write!(f, "false"),
526-
Self::String(s) => write!(f, "\"{}\"", s),
526+
Self::String(s) => write!(f, "{}", s),
527527
Self::Integer(i) => write!(f, "{}", i),
528528
Self::Float32(v) => write!(f, "{}", v),
529529
Self::Float64(v) => write!(f, "{}", v),

libs/jwst-codec/src/doc/codec/io/codec_v1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ impl CrdtWriter for RawEncoder {
165165
}
166166

167167
#[cfg(test)]
168+
#[allow(clippy::approx_constant)]
168169
mod tests {
169170
use super::*;
170171

libs/jwst-core/src/workspaces/metadata/pages.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ use std::collections::HashMap;
22

33
use jwst_codec::{Any, Array, Map, Value};
44

5+
#[allow(dead_code)]
56
pub struct PageMeta {
67
pub id: String,
78
pub favorite: Option<bool>,

0 commit comments

Comments
 (0)