Skip to content

Commit adc1715

Browse files
committed
Merge branch 'main' into scouten/cai-9212-add-cawg-to-reader
2 parents 61c2ced + 38ea9c9 commit adc1715

30 files changed

+4689
-98
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,42 @@ jobs:
311311
env:
312312
WASM_BINDGEN_TEST_TIMEOUT: 60
313313

314+
benchmarks:
315+
name: Run benchmarks on signing and reading
316+
if: |
317+
github.event_name != 'pull_request' ||
318+
github.event.pull_request.author_association == 'COLLABORATOR' ||
319+
github.event.pull_request.author_association == 'MEMBER' ||
320+
github.event.pull_request.user.login == 'dependabot[bot]' ||
321+
contains(github.event.pull_request.labels.*.name, 'safe to test')
322+
323+
runs-on: ubuntu-latest
324+
325+
steps:
326+
- name: Checkout repository
327+
uses: actions/checkout@v4
328+
329+
- name: Install Rust toolchain
330+
uses: dtolnay/rust-toolchain@stable
331+
332+
- name: Install cargo-binstall
333+
uses: cargo-bins/cargo-binstall@main
334+
335+
- name: Install cargo-codspeed
336+
run: cargo binstall --no-confirm cargo-codspeed
337+
338+
- name: Cache Rust dependencies
339+
uses: Swatinem/rust-cache@v2
340+
341+
- name: Build the benchmark target(s)
342+
run: cargo codspeed build -p c2pa --no-default-features --features rust_native_crypto
343+
344+
- name: Run the benchmarks
345+
uses: CodSpeedHQ/action@v3
346+
with:
347+
run: cargo codspeed run
348+
token: ${{ secrets.CODSPEED_TOKEN }}
349+
314350
tests-wasi:
315351
name: Unit tests (WASI)
316352
needs: get-features

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.61.0](https://github.com/contentauth/c2pa-rs/compare/c2pa-v0.60.1...c2pa-v0.61.0)
11+
_03 September 2025_
12+
13+
### Added
14+
15+
* Add benchmarking ([#1311](https://github.com/contentauth/c2pa-rs/pull/1311))
16+
17+
### Fixed
18+
19+
* Rewind output stream after adding dynamic assertions ([#1358](https://github.com/contentauth/c2pa-rs/pull/1358))
20+
* Fix label handling for custom metadata ([#1354](https://github.com/contentauth/c2pa-rs/pull/1354))
21+
* Gif global color table size ([#1348](https://github.com/contentauth/c2pa-rs/pull/1348))
22+
* Fix overly agressive metata collection ([#1345](https://github.com/contentauth/c2pa-rs/pull/1345))
23+
1024
## [0.60.1](https://github.com/contentauth/c2pa-rs/compare/c2pa-v0.60.0...c2pa-v0.60.1)
1125
_27 August 2025_
1226

0 commit comments

Comments
 (0)