Skip to content

Commit

Permalink
solve version
Browse files Browse the repository at this point in the history
  • Loading branch information
kingwingfly committed Jun 4, 2024
1 parent ef29cf6 commit dabb052
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ edition = "2021"
repository = "https://github.com/kingwingfly/fav"
documentation = ""

[workspace.dependencies]
fav_core = { path = "fav_core", version = "0.0.11" }
fav_derive = { path = "fav_derive", version = "0.0.1" }
fav_utils = { path = "fav_utils", version = "0.0.6" }
fav_cli = { path = "fav_cli", version = "0.2.19" }

[profile.release]
lto = "fat"
opt-level = 3
Expand Down
2 changes: 1 addition & 1 deletion fav/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ documentation.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
fav_cli = { path = "../fav_cli", version = "0.2.19" }
fav_cli = { workspace = true }
# runtime
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
# tracing
Expand Down
4 changes: 2 additions & 2 deletions fav_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ rustdoc-args = ["--cfg", "docsrs"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
fav_core = { path = "../fav_core", version = "0.0.11" }
fav_utils = { path = "../fav_utils", version = "0.0.6" }
fav_core = { workspace = true }
fav_utils = { workspace = true }
# CLI
clap = { version = "4.5", features = ["derive"] }
clap_complete = { version = "4" }
Expand Down
1 change: 0 additions & 1 deletion fav_cli/temp/.gitkeep

This file was deleted.

2 changes: 1 addition & 1 deletion fav_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
# derive
fav_derive = { path = "../fav_derive", optional = true, version = "0.0.1" }
fav_derive = { workspace = true, optional = true }
# cli
tabled = { version = "0.15.0", optional = true }
# net
Expand Down
2 changes: 1 addition & 1 deletion fav_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ syn = { version = "2.0", features = ["full"] }
quote = "1.0"

[dev-dependencies]
fav_core = { path = "../fav_core", version = "0.0.11" }
fav_core = { workspace = true }
reqwest = { version = "0.12" }
2 changes: 1 addition & 1 deletion fav_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
# core
fav_core = { path = "../fav_core", version = "0.0.11" }
fav_core = { workspace = true }
# CLI
indicatif = { version = "0.17", features = ["tokio"] }
# serde
Expand Down

0 comments on commit dabb052

Please sign in to comment.