Skip to content

Commit 48c3990

Browse files
authored
chore: bump foyer to 0.7.0 (#323)
Signed-off-by: MrCroxx <[email protected]>
1 parent cb2616e commit 48c3990

File tree

10 files changed

+59
-33
lines changed

10 files changed

+59
-33
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 2024-04-11
2+
3+
| crate | version |
4+
| - | - |
5+
| foyer | 0.7.0 |
6+
| foyer-common | 0.5.0 |
7+
| foyer-intrusive | 0.4.0 |
8+
| foyer-memory | 0.2.0 |
9+
| foyer-storage | 0.6.0 |
10+
| foyer-storage-bench | 0.6.0 |
11+
| foyer-workspace-hack | 0.4.0 |
12+
13+
<details>
14+
15+
### Changes
16+
17+
- Make `foyer` compatible with rust stable toolchain (MSRV = 1.77.2). 🎉
18+
19+
</details>
20+
121
## 2024-04-09
222

323
| crate | version |
@@ -12,6 +32,8 @@
1232
- fix: Fix panics on `state()` for s3fifo entry.
1333
- fix: Enable `offset_of` feature for `foyer-storage`.
1434

35+
</details>
36+
1537
## 2024-04-08
1638

1739
| crate | version |
@@ -26,6 +48,8 @@
2648
- feat: Introduce s3fifo to `foyer-memory`.
2749
- fix: Fix doctest for `foyer-intrusive`.
2850

51+
</details>
52+
2953
## 2024-03-21
3054

3155
| crate | version |

foyer-common/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "foyer-common"
3-
version = "0.4.0"
3+
version = "0.5.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "common utils for foyer - the hybrid cache for Rust"
@@ -17,7 +17,7 @@ normal = ["foyer-workspace-hack"]
1717
anyhow = "1.0"
1818
bytes = "1"
1919
cfg-if = "1"
20-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
20+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }
2121
itertools = "0.12"
2222
parking_lot = { version = "0.12", features = ["arc_lock"] }
2323
paste = "1.0"

foyer-experimental-bench/Cargo.toml

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[package]
22
name = "foyer-experimental-bench"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "storage engine bench tool for foyer - the hybrid cache for Rust"
77
license = "Apache-2.0"
88
repository = "https://github.com/mrcroxx/foyer"
99
homepage = "https://github.com/mrcroxx/foyer"
1010
readme = "../README.md"
11+
publish = false
1112
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1213
autobenches = false
1314

@@ -19,11 +20,11 @@ anyhow = "1"
1920
bytesize = "1"
2021
clap = { version = "4", features = ["derive"] }
2122
console-subscriber = { version = "0.2", optional = true }
22-
foyer-common = { version = "0.4", path = "../foyer-common" }
23-
foyer-experimental = { version = "0.1", path = "../foyer-experimental" }
24-
foyer-intrusive = { version = "0.3", path = "../foyer-intrusive" }
25-
foyer-storage = { version = "0.5", path = "../foyer-storage" }
26-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
23+
foyer-common = { version = "0.5", path = "../foyer-common" }
24+
foyer-experimental = { version = "*", path = "../foyer-experimental" }
25+
foyer-intrusive = { version = "0.4", path = "../foyer-intrusive" }
26+
foyer-storage = { version = "0.6", path = "../foyer-storage" }
27+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }
2728
futures = "0.3"
2829
hdrhistogram = "7"
2930
http-body-util = "0.1"

foyer-experimental/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[package]
22
name = "foyer-experimental"
3-
version = "0.1.0"
3+
version = "0.0.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "experimental components for foyer - the hybrid cache for Rust"
77
license = "Apache-2.0"
88
repository = "https://github.com/mrcroxx/foyer"
99
homepage = "https://github.com/mrcroxx/foyer"
1010
readme = "../README.md"
11+
publish = false
1112
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1213

1314
[package.metadata.cargo-udeps.ignore]
@@ -17,8 +18,8 @@ normal = ["foyer-workspace-hack"]
1718
anyhow = "1.0"
1819
bytes = "1"
1920
crossbeam = { version = "0.8", features = ["std", "crossbeam-channel"] }
20-
foyer-common = { version = "0.4", path = "../foyer-common" }
21-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
21+
foyer-common = { version = "0.5", path = "../foyer-common" }
22+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }
2223
lazy_static = "1"
2324
parking_lot = { version = "0.12", features = ["arc_lock"] }
2425
paste = "1.0"

foyer-intrusive/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "foyer-intrusive"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "intrusive data structures for foyer - the hybrid cache for Rust"
@@ -16,8 +16,8 @@ normal = ["foyer-workspace-hack"]
1616
[dependencies]
1717
bytes = "1"
1818
cmsketch = "0.1"
19-
foyer-common = { version = "0.4", path = "../foyer-common" }
20-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
19+
foyer-common = { version = "0.5", path = "../foyer-common" }
20+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }
2121
itertools = "0.12"
2222
memoffset = "0.9"
2323
parking_lot = "0.12"

foyer-memory/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "foyer-memory"
3-
version = "0.1.4"
3+
version = "0.2.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "memory cache for foyer - the hybrid cache for Rust"
@@ -18,8 +18,8 @@ ahash = "0.8"
1818
bitflags = "2"
1919
cmsketch = "0.2"
2020
crossbeam = "0.8"
21-
foyer-intrusive = { version = "0.3", path = "../foyer-intrusive" }
22-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
21+
foyer-intrusive = { version = "0.4", path = "../foyer-intrusive" }
22+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }
2323
futures = "0.3"
2424
hashbrown = "0.14"
2525
itertools = "0.12"

foyer-storage-bench/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "foyer-storage-bench"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "storage engine bench tool for foyer - the hybrid cache for Rust"
@@ -18,10 +18,10 @@ anyhow = "1"
1818
bytesize = "1"
1919
clap = { version = "4", features = ["derive"] }
2020
console-subscriber = { version = "0.2", optional = true }
21-
foyer-common = { version = "0.4", path = "../foyer-common" }
22-
foyer-intrusive = { version = "0.3", path = "../foyer-intrusive" }
23-
foyer-storage = { version = "0.5", path = "../foyer-storage" }
24-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
21+
foyer-common = { version = "0.5", path = "../foyer-common" }
22+
foyer-intrusive = { version = "0.4", path = "../foyer-intrusive" }
23+
foyer-storage = { version = "0.6", path = "../foyer-storage" }
24+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }
2525
futures = "0.3"
2626
hdrhistogram = "7"
2727
http-body-util = "0.1"

foyer-storage/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "foyer-storage"
3-
version = "0.5.1"
3+
version = "0.6.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "storage engine for foyer - the hybrid cache for Rust"
@@ -19,9 +19,9 @@ anyhow = "1.0"
1919
bitflags = "2.3.1"
2020
bitmaps = "3.2"
2121
bytes = "1"
22-
foyer-common = { version = "0.4", path = "../foyer-common" }
23-
foyer-intrusive = { version = "0.3", path = "../foyer-intrusive" }
24-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
22+
foyer-common = { version = "0.5", path = "../foyer-common" }
23+
foyer-intrusive = { version = "0.4", path = "../foyer-intrusive" }
24+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }
2525
futures = "0.3"
2626
itertools = "0.12"
2727
lazy_static = "1"

foyer-workspace-hack/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[package]
66
name = "foyer-workspace-hack"
7-
version = "0.3.0"
7+
version = "0.4.0"
88
authors = ["MrCroxx <[email protected]>"]
99
description = "workspace-hack package, managed by hakari"
1010
license = "Apache-2.0"

foyer/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "foyer"
3-
version = "0.6.0"
3+
version = "0.7.0"
44
edition = "2021"
55
authors = ["MrCroxx <[email protected]>"]
66
description = "Hybrid cache for Rust"
@@ -15,8 +15,8 @@ rust-version = "1.77.2"
1515
normal = ["foyer-workspace-hack"]
1616

1717
[dependencies]
18-
foyer-common = { version = "0.4", path = "../foyer-common" }
19-
foyer-intrusive = { version = "0.3", path = "../foyer-intrusive" }
20-
foyer-memory = { version = "0.1", path = "../foyer-memory" }
21-
foyer-storage = { version = "0.5", path = "../foyer-storage" }
22-
foyer-workspace-hack = { version = "0.3", path = "../foyer-workspace-hack" }
18+
foyer-common = { version = "0.5", path = "../foyer-common" }
19+
foyer-intrusive = { version = "0.4", path = "../foyer-intrusive" }
20+
foyer-memory = { version = "0.2", path = "../foyer-memory" }
21+
foyer-storage = { version = "0.6", path = "../foyer-storage" }
22+
foyer-workspace-hack = { version = "0.4", path = "../foyer-workspace-hack" }

0 commit comments

Comments
 (0)