Skip to content

Commit

Permalink
fix potential semver break. support both bnum 0.10 and 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
maia-s committed Apr 1, 2024
1 parent 7ac3936 commit 01955e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions anyhash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anyhash"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["Maia S. R."]
license = "MIT OR Apache-2.0 OR Zlib"
Expand Down Expand Up @@ -28,7 +28,8 @@ xxh64 = ["bytemuck"]

[dependencies]
anyhash-macros = { version = "0.1", path = "../anyhash-macros" }
bnum = { version = "0.11", optional = true }
# <0.12 can be updated if bnum releases another compatible 0.x version
bnum = { version = ">=0.10, <0.12", optional = true }
bytemuck = { version = "1.14", features = ["min_const_generics"], optional = true }

[package.metadata.docs.rs]
Expand Down

0 comments on commit 01955e8

Please sign in to comment.