Skip to content

Commit

Permalink
Add MSRV with github test
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Kaitchuck <tom.kaitchuck@emc.com>
  • Loading branch information
tkaitchuck committed Oct 31, 2023
1 parent 2153ab9 commit e5a07d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- name: check nightly
uses: actions-rs/cargo@v1
with:
command: check
command: check -Z msrv-policy
- name: test nightly
uses: actions-rs/cargo@v1
with:
Expand Down
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ edition = "2018"
readme = "README.md"
build = "./build.rs"
exclude = ["/smhasher", "/benchmark_tools"]
rust-version = "1.60.0"


[lib]
name = "ahash"
Expand Down Expand Up @@ -75,12 +77,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.13.1", default-features = false, features = ["unstable", "alloc"] }
Expand Down

0 comments on commit e5a07d8

Please sign in to comment.