File tree Expand file tree Collapse file tree 4 files changed +15
-10
lines changed
jwst-codec-utils/fuzz/fuzz_targets
jwst-storage/src/entities Expand file tree Collapse file tree 4 files changed +15
-10
lines changed Original file line number Diff line number Diff line change 2121 toolchain : ${{ inputs.toolchain }}
2222 targets : ${{ inputs.targets }}
2323 components : ${{ inputs.components }}
24+ - name : Add Targets
25+ if : ${{ inputs.targets }}
26+ run : rustup target add ${{ inputs.targets }}
27+ shell : bash
2428 - uses : Swatinem/rust-cache@v2
Original file line number Diff line number Diff line change @@ -388,10 +388,10 @@ jobs:
388388 CARGO_TERM_COLOR : always
389389 steps :
390390 - uses : actions/checkout@v3
391- - uses : dtolnay/rust-toolchain@stable
391+ - name : Setup Rust
392+ uses : ./.github/actions/setup-rust
392393 with :
393394 components : llvm-tools-preview
394- - uses : Swatinem/rust-cache@v2
395395
396396 - name : Install latest nextest release
397397 uses : taiki-e/install-action@nextest
@@ -416,8 +416,8 @@ jobs:
416416 CARGO_TERM_COLOR : always
417417 steps :
418418 - uses : actions/checkout@v3
419- - uses : dtolnay/rust-toolchain@stable
420- - uses : Swatinem/rust-cache@v2
419+ - name : Setup Rust
420+ uses : ./.github/actions/setup-rust
421421
422422 - name : Install latest nextest release
423423 uses : taiki-e/install-action@nextest
@@ -435,10 +435,10 @@ jobs:
435435 CARGO_TERM_COLOR : always
436436 steps :
437437 - uses : actions/checkout@v3
438- - uses : dtolnay/rust-toolchain@master
438+ - name : Setup Rust
439+ uses : ./.github/actions/setup-rust
439440 with :
440- toolchain : nightly-2023-05-23
441- - uses : Swatinem/rust-cache@v2
441+ toolchain : nightly-2023-08-19
442442
443443 - name : fuzzing
444444 working-directory : ./libs/jwst-codec-utils
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ fuzz_target!(|crdt_params: Vec<CRDTParam>| {
4343
4444 let trx = doc. transact_mut( ) ;
4545 let binary_from_yrs = trx. encode_update_v1( ) . unwrap( ) ;
46- let doc = jwst_codec:: Doc :: new_from_binary ( binary_from_yrs) . unwrap( ) ;
46+ let doc = jwst_codec:: Doc :: try_from_binary_v1 ( & binary_from_yrs) . unwrap( ) ;
4747 let binary = doc. encode_update_v1( ) . unwrap( ) ;
4848 assert_eq!( binary, binary_from_yrs) ;
4949} ) ;
Original file line number Diff line number Diff line change 11//! `SeaORM` Entity. Generated by sea-orm-codegen 0.12.6
22
3- pub use super :: blobs :: Entity as Blobs ;
3+ # [ cfg ( feature = "bucket" ) ]
44pub use super :: bucket_blobs:: Entity as BucketBlobs ;
5- pub use super :: docs :: Entity as Docs ;
5+ # [ cfg ( feature = "image" ) ]
66pub use super :: optimized_blobs:: Entity as OptimizedBlobs ;
7+ pub use super :: { blobs:: Entity as Blobs , docs:: Entity as Docs } ;
You can’t perform that action at this time.
0 commit comments