Skip to content

Commit

Permalink
MSRV: bump to 1.60
Browse files Browse the repository at this point in the history
Concrete clients have higher MSRVs, but 1.60 can
build the core code and resolve all deps.
  • Loading branch information
rbtcollins committed May 10, 2024
1 parent 6cea785 commit 4ee6ba7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
strategy:
matrix:
rust:
- 1.59.0 # MSRV
- 1.60.0 # MSRV

steps:
- uses: actions/checkout@v2
Expand Down
19 changes: 9 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ license = "Apache-2.0"
name = "unleash-api-client"
readme = "README.md"
repository = "https://github.com/cognitedata/unleash-client-rust/"
rust-version = "1.59"
rust-version = "1.60"
version = "0.10.3"

[badges]
Expand All @@ -24,15 +24,15 @@ backtrace = ["anyhow/backtrace"]
default = []
# Enable the functional test suite
functional = []
reqwest-client = ["reqwest", "reqwest/default-tls"]
reqwest-client-11 = ["reqwest-11", "reqwest-11/default-tls"]
reqwest-client = ["dep:reqwest", "reqwest?/default-tls"]
reqwest-client-11 = ["dep:reqwest-11", "reqwest-11?/default-tls"]
# For users that don't want to depend on OpenSSL.
reqwest-client-11-rustls = ["reqwest-11", "reqwest-11/rustls-tls"]
reqwest-client-rustls = ["reqwest", "reqwest/rustls-tls"]
reqwest-client-11-rustls = ["dep:reqwest-11", "reqwest-11?/rustls-tls"]
reqwest-client-rustls = ["dep:reqwest", "reqwest?/rustls-tls"]
# To error if an unsupported API feature is present
strict = []
# For use with --no-default-features
surf-client = ["async-std", "surf"]
surf-client = ["dep:async-std", "dep:surf"]

[[bench]]
harness = false
Expand All @@ -42,7 +42,7 @@ name = "is_enabled"
bench = false
name = "dump-features"
path = "src/bin/dump-features.rs"
required-features = ["async-std", "surf-client"]
required-features = ["surf-client"]

[dependencies]
anyhow = "1.0.44"
Expand Down Expand Up @@ -71,21 +71,20 @@ version = "0.4.19"
default-features = false
features = ["json"]
optional = true
version = "0.12.4"
version = "0.12"

[dependencies.reqwest-11]
default-features = false
features = ["json"]
optional = true
package = "reqwest"
version = "0.11.27"
version = "0.11"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dev-dependencies]
# async-std = "1.10.0"
criterion = "0.3.5" # Remember to update audit.toml
futures = "0.3.17"
maplit = "1.0.2"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ enable_string_features | N/A | By default the Rust SDK requires you to define an

## Status

Core Unleash API features work, with Rust 1.59 or above. The MSRV for this project is weakly enforced: when a hard dependency raises its version, so will the minimum version tested against, but if older rust versions work for a user, that is not prevented. `time` in particular is known to enforce a 6-month compiler age, so regular increases with the minimum version tested against are expected.
Core Unleash API features work, with Rust 1.60 or above. The MSRV for this project is weakly enforced: when a hard dependency raises its version, so will the minimum version tested against, but if older rust versions work for a user, that is not prevented. `time` in particular is known to enforce a 6-month compiler age, so regular increases with the minimum version tested against are expected.

Unimplemented Unleash specified features:

Expand Down

0 comments on commit 4ee6ba7

Please sign in to comment.