diff --git a/Cargo.toml b/Cargo.toml index 3fe858369..15564def5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ default = ["std"] std = [] [dependencies] -serde = { version = "1.0.60", optional = true, default-features = false, features = ["alloc"] } +serde = { version = "1.0.70", optional = true, default-features = false, features = ["alloc"] } # Use portable-atomic crate to support platforms without atomic CAS. # See "no_std support" section in readme for more information. # diff --git a/ci/test-stable.sh b/ci/test-stable.sh index ad9757449..bc95d0c1d 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -11,7 +11,7 @@ cargo hack "${cmd}" --each-feature --optional-deps # Run with all features cargo "${cmd}" --all-features -if [[ "${RUST_VERSION}" == "nightly"* ]]; then +if [[ "$(rustc --version)" == *"nightly"* ]]; then # Check benchmarks cargo check --benches