diff --git a/.github/workflows/ci-matrix.yml b/.github/workflows/ci-matrix.yml index 6538a61..a119db5 100644 --- a/.github/workflows/ci-matrix.yml +++ b/.github/workflows/ci-matrix.yml @@ -82,7 +82,7 @@ jobs: strategy: matrix: rust: - - 1.59.0 # MSRV + - 1.60.0 # MSRV steps: - uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index beebddd..97a0891 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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] @@ -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 @@ -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" @@ -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" diff --git a/README.md b/README.md index e77b00e..ee81016 100644 --- a/README.md +++ b/README.md @@ -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: