Skip to content

Commit

Permalink
chore: upgrade hashbrown deps to 0.15 (#809)
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx authored Dec 2, 2024
1 parent 746333e commit 706d133
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ clap = { version = "4", features = ["derive"] }
crossbeam = "0.8"
equivalent = "1"
fastrace = "0.7"
hashbrown = "0.14"
hashbrown = "0.15"
itertools = "0.13"
parking_lot = { version = "0.12" }
serde = { version = "1", features = ["derive", "rc"] }
Expand Down
1 change: 1 addition & 0 deletions foyer-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ futures = "0.3"
rand = "0.8.5"

[features]
nightly = ["hashbrown/nightly"]
strict_assertions = []
tracing = ["fastrace/enable"]
prometheus = ["dep:prometheus"]
Expand Down
1 change: 1 addition & 0 deletions foyer-memory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ test-log = { workspace = true }
zipf = "7.0.1"

[features]
nightly = ["hashbrown/nightly"]
deadlock = ["parking_lot/deadlock_detection"]
# FIXME: remove sanity feature
sanity = []
Expand Down
2 changes: 1 addition & 1 deletion foyer-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test-log = { workspace = true }
[features]
default = []
deadlock = ["parking_lot/deadlock_detection"]
nightly = ["allocator-api2/nightly"]
nightly = ["allocator-api2/nightly", "hashbrown/nightly"]
strict_assertions = [
"foyer-common/strict_assertions",
"foyer-memory/strict_assertions",
Expand Down
6 changes: 5 additions & 1 deletion foyer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ test-log = { workspace = true }

[features]
default = []
nightly = ["foyer-storage/nightly"]
nightly = [
"foyer-storage/nightly",
"foyer-common/nightly",
"foyer-memory/nightly",
]
deadlock = ["foyer-storage/deadlock"]
strict_assertions = [
"foyer-common/strict_assertions",
Expand Down

0 comments on commit 706d133

Please sign in to comment.