manage dependencies in root workspace

This commit is contained in:
naskya 2024-06-25 16:34:49 +09:00
parent d26da39955
commit 3b7184680b
Signed by: naskya
GPG key ID: 712D413B3A9FED5C
2 changed files with 32 additions and 15 deletions

View file

@ -1,3 +1,20 @@
[workspace]
members = ["fishctl", "macros"]
resolver = "2"
[workspace.dependencies]
chrono = "0.4"
clap = "4.5"
color-print = "0.3"
enum-iterator = "2.1"
redis = "0.25"
serde = "1.0"
serde_repr = "0.1"
sqlx = "0.7"
thiserror = "1.0"
tokio = "1.38"
toml = "0.8"
url = "2.5"
vapid = "0.6"
validator = "0.18"
yaml-rust = "0.4"

View file

@ -7,21 +7,21 @@ edition = "2021"
license = "MIT"
[dependencies]
chrono = "0.4"
clap = { version = "4.5", features = ["derive"] }
color-print = "0.3"
enum-iterator = "2.1"
redis = { version = "0.25", features = ["tokio-comp"] }
serde = { version = "1.0", features = ["derive"] }
serde_repr = "0.1"
sqlx = { version = "0.7", features = ["runtime-tokio", "postgres"] }
thiserror = "1.0"
tokio = { version = "1.38", features = ["full"] }
toml = "0.8"
url = "2.5"
vapid = "0.6"
validator = { version = "0.18", features = ["derive"] }
yaml-rust = "0.4"
chrono = { workspace = true }
clap = { workspace = true, features = ["derive"] }
color-print = { workspace = true }
enum-iterator = { workspace = true }
redis = { workspace = true, features = ["tokio-comp"] }
serde = { workspace = true, features = ["derive"] }
serde_repr = { workspace = true }
sqlx = { workspace = true, features = ["runtime-tokio", "postgres"] }
thiserror = { workspace = true }
tokio = { workspace = true, features = ["full"] }
toml = { workspace = true }
url = { workspace = true }
vapid = { workspace = true }
validator = { workspace = true, features = ["derive"] }
yaml-rust = { workspace = true }
[profile.release]
lto = true