Skip to content

Commit

Permalink
Add MSRV 1.60.0 (#181)
Browse files Browse the repository at this point in the history
* Add MSRV with github test

Signed-off-by: Tom Kaitchuck <tom.kaitchuck@emc.com>
Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
  • Loading branch information
tkaitchuck and polarathene committed Nov 12, 2023
1 parent 53c08e4 commit 9f6a2ad
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ edition = "2018"
readme = "README.md"
build = "./build.rs"
exclude = ["/smhasher", "/benchmark_tools"]
rust-version = "1.60.0"

[lib]
name = "ahash"
Expand Down Expand Up @@ -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"] }
Expand Down

0 comments on commit 9f6a2ad

Please sign in to comment.