-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use workspace.package to manage crate meta (#740)
Besides, replace all "Foyer" with "foyer". Signed-off-by: MrCroxx <[email protected]>
- Loading branch information
Showing
123 changed files
with
236 additions
and
201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,17 @@ members = [ | |
"foyer-util", | ||
] | ||
|
||
[workspace.package] | ||
version = "0.12.0-dev" | ||
edition = "2021" | ||
rust-version = "1.81.0" | ||
repository = "https://github.com/foyer-rs/foyer" | ||
homepage = "https://foyer.rs" | ||
keywords = ["cache", "hybrid"] | ||
authors = ["MrCroxx <[email protected]>"] | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
|
||
[workspace.dependencies] | ||
tokio = { package = "madsim-tokio", version = "0.2", features = [ | ||
"rt", | ||
|
@@ -34,6 +45,12 @@ fastrace-jaeger = "0.7" | |
fastrace-opentelemetry = "0.7" | ||
clap = { version = "4", features = ["derive"] } | ||
bytesize = { package = "foyer-bytesize", version = "2" } | ||
# foyer components | ||
foyer-common = { version = "0.12.0-dev", path = "foyer-common" } | ||
foyer-intrusive = { version = "0.12.0-dev", path = "foyer-intrusive" } | ||
foyer-memory = { version = "0.12.0-dev", path = "foyer-memory" } | ||
foyer-storage = { version = "0.12.0-dev", path = "foyer-storage" } | ||
foyer = { version = "0.12.0-dev", path = "foyer" } | ||
|
||
[profile.release] | ||
debug = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
[package] | ||
name = "examples" | ||
version = "0.0.0" | ||
edition = "2021" | ||
authors = ["MrCroxx <[email protected]>"] | ||
description = "Hybrid cache for Rust" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/foyer-rs/foyer" | ||
homepage = "https://github.com/foyer-rs/foyer" | ||
readme = "../README.md" | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
description = "examples for foyer - Hybrid cache for Rust" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
rust-version = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
keywords = { workspace = true } | ||
authors = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
publish = false | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ahash = "0.8" | ||
|
@@ -18,7 +20,7 @@ chrono = "0.4" | |
fastrace = { workspace = true } | ||
fastrace-jaeger = { workspace = true, optional = true } | ||
fastrace-opentelemetry = { workspace = true, optional = true } | ||
foyer = { version = "*", path = "../foyer" } | ||
foyer = { workspace = true } | ||
opentelemetry = { version = "0.25", optional = true } | ||
opentelemetry-otlp = { version = "0.25", optional = true } | ||
opentelemetry-semantic-conventions = { version = "0.25", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
[package] | ||
name = "foyer-bench" | ||
version = "0.3.5" | ||
edition = "2021" | ||
authors = ["MrCroxx <[email protected]>"] | ||
description = "bench tool for foyer - the hybrid cache for Rust" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/foyer-rs/foyer" | ||
homepage = "https://github.com/foyer-rs/foyer" | ||
readme = "../README.md" | ||
description = "bench tool for foyer - Hybrid cache for Rust" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
rust-version = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
keywords = { workspace = true } | ||
authors = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
@@ -17,7 +19,7 @@ clap = { workspace = true } | |
console-subscriber = { version = "0.4", optional = true } | ||
fastrace = { workspace = true, optional = true } | ||
fastrace-jaeger = { workspace = true, optional = true } | ||
foyer = { version = "0.11.5", path = "../foyer" } | ||
foyer = { workspace = true } | ||
futures = "0.3" | ||
hdrhistogram = "7" | ||
itertools = { workspace = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
[package] | ||
name = "foyer-cli" | ||
version = "0.0.0" | ||
edition = "2021" | ||
authors = ["MrCroxx <[email protected]>"] | ||
description = "Hybrid cache for Rust" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/foyer-rs/foyer" | ||
homepage = "https://github.com/foyer-rs/foyer" | ||
readme = "../README.md" | ||
description = "cli tool for foyer - Hybrid cache for Rust" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
rust-version = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
keywords = { workspace = true } | ||
authors = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
publish = false | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
[package] | ||
name = "foyer-common" | ||
version = "0.9.5" | ||
edition = "2021" | ||
authors = ["MrCroxx <[email protected]>"] | ||
description = "common components for foyer - the hybrid cache for Rust" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/foyer-rs/foyer" | ||
homepage = "https://github.com/foyer-rs/foyer" | ||
readme = "../README.md" | ||
description = "common components for foyer - Hybrid cache for Rust" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
rust-version = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
keywords = { workspace = true } | ||
authors = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
[package] | ||
name = "foyer-intrusive" | ||
version = "0.9.5" | ||
edition = "2021" | ||
authors = ["MrCroxx <[email protected]>"] | ||
description = "intrusive data structures for foyer - the hybrid cache for Rust" | ||
license = "Apache-2.0" | ||
repository = "https://github.com/foyer-rs/foyer" | ||
homepage = "https://github.com/foyer-rs/foyer" | ||
readme = "../README.md" | ||
description = "intrusive data structures for foyer - Hybrid cache for Rust" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
rust-version = { workspace = true } | ||
repository = { workspace = true } | ||
homepage = { workspace = true } | ||
keywords = { workspace = true } | ||
authors = { workspace = true } | ||
license = { workspace = true } | ||
readme = { workspace = true } | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
foyer-common = { version = "0.9.5", path = "../foyer-common" } | ||
foyer-common = { workspace = true } | ||
itertools = { workspace = true } | ||
|
||
[features] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.