diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 96d0dde..1d440a5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -62,6 +62,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: check + args: -Z msrv-policy - name: test nightly uses: actions-rs/cargo@v1 with: @@ -167,6 +168,19 @@ jobs: with: command: check args: --target wasm32-unknown-unknown --no-default-features + msrv: + name: MSRV + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install 1.60.0 + uses: actions-rs/toolchain@v1 + with: + toolchain: 1.60.0 + - name: check + uses: actions-rs/cargo@v1 + with: + command: check no_std: name: no-std build runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index e996771..d37c2de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,7 @@ edition = "2018" readme = "README.md" build = "./build.rs" exclude = ["/smhasher", "/benchmark_tools"] +rust-version = "1.60.0" [lib] name = "ahash" @@ -78,12 +79,12 @@ codegen-units = 1 version_check = "0.9.4" [dependencies] -const-random = { version = "0.1.12", optional = true } +const-random = { version = "0.1.17", optional = true } serde = { version = "1.0.117", optional = true } cfg-if = "1.0" atomic-polyfill = { version="1.0.1", optional=true} getrandom = { version = "0.2.7", optional = true } -zerocopy = { version = "0.7.14", default-features = false, features = ["simd"] } +zerocopy = { version = "0.7.20", default-features = false, features = ["simd"] } [target.'cfg(not(all(target_arch = "arm", target_os = "none")))'.dependencies] once_cell = { version = "1.18.0", default-features = false, features = ["alloc"] }