Skip to content

Commit

Permalink
feat: Bump MSRV to 1.81.0 (contentauth#781)
Browse files Browse the repository at this point in the history
Required due to version updates in some dependent crates.
  • Loading branch information
scouten-adobe authored Dec 16, 2024
1 parent fe4d6e0 commit 8c2e98c
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
rust_version: [stable, 1.76.0]
rust_version: [stable, 1.81.0]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
fail-fast: false
matrix:
target: [aarch64-unknown-linux-gnu]
rust_version: [stable, 1.76.0]
rust_version: [stable, 1.81.0]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -368,7 +368,7 @@ jobs:
- name: Install nightly Rust toolchain
# Nightly is used here because the docs.rs build
# uses nightly and we use doc_cfg features that are
# not in stable Rust as of this writing (Rust 1.76).
# not in stable Rust as of this writing (Rust 1.81).
uses: dtolnay/rust-toolchain@nightly

- name: Run cargo docs
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ This is a beta release (version 0.x.x) of the project. The minor version number

NOTE: The current release includes a new API that replaces old methods of reading and writing C2PA data, which are deprecated. See the [release notes](docs/release-notes.md) for more information.

### Rust language requirement (MSRV)

The `c2pa` crate requires Rust version 1.81.0 or newer. When a newer version of Rust becomes required, a new minor (0.x.0) version of this crate will be released.

### Contributions and feedback

We welcome contributions to this project. For information on contributing, providing feedback, and about ongoing work, see [Contributing](https://github.com/contentauth/c2pa-rs/blob/main/CONTRIBUTING.md). For additional information on nightly builds and testing, see [Contributing to the project](docs/project-contributions.md).
Expand Down
2 changes: 1 addition & 1 deletion cawg_identity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
keywords = ["identity"]
categories = ["api-bindings"]
edition = "2021"
rust-version = "1.76.0"
rust-version = "1.81.0"
exclude = ["tests/fixtures"]

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The C2PA Rust library has been tested on the following operating systems:

## Requirements

The C2PA Rust library requires **Rust version 1.76.0** or newer.
The C2PA Rust library requires **Rust version 1.81.0** or newer.

To use the library, add this to your `Cargo.toml`:

Expand Down
2 changes: 1 addition & 1 deletion export_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.36.1"
authors = ["Dave Kozma <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2018"
rust-version = "1.76.0"
rust-version = "1.81.0"

[dependencies]
anyhow = "1.0.40"
Expand Down
2 changes: 1 addition & 1 deletion internal/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ readme = "README.md"
keywords = ["metadata"]
categories = ["api-bindings"]
edition = "2021"
rust-version = "1.76.0"
rust-version = "1.81.0"
exclude = ["tests/fixtures"]

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion internal/status-tracker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ homepage = "https://contentauthenticity.org"
repository = "https://github.com/contentauth/c2pa-rs"
readme = "README.md"
edition = "2021"
rust-version = "1.76.0"
rust-version = "1.81.0"
exclude = ["tests/fixtures"]

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion make_test_images/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.36.1"
authors = ["Gavin Peacock <[email protected]>"]
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.76.0"
rust-version = "1.81.0"

[dependencies]
anyhow = "1.0.40"
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ readme = "../README.md"
keywords = ["xmp", "metadata"]
categories = ["api-bindings"]
edition = "2021"
rust-version = "1.76.0"
rust-version = "1.81.0"
exclude = ["tests/fixtures"]

[package.metadata.docs.rs]
Expand Down

0 comments on commit 8c2e98c

Please sign in to comment.