Refactor: Use workspace dependencies
This commit is contained in:
parent
29d3cb05b1
commit
5ce3860f2c
1 changed files with 14 additions and 14 deletions
28
Cargo.toml
28
Cargo.toml
|
|
@ -20,28 +20,28 @@ i18n = []
|
|||
|
||||
[dependencies]
|
||||
# Core
|
||||
anyhow = "1.0"
|
||||
thiserror = "2.0"
|
||||
log = "0.4"
|
||||
env_logger = "0.11"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
uuid = { version = "1.11", features = ["serde", "v4"] }
|
||||
toml = "0.8"
|
||||
tokio = { version = "1.41", features = ["sync", "time"] }
|
||||
anyhow = { workspace = true }
|
||||
thiserror = { workspace = true }
|
||||
log = { workspace = true }
|
||||
env_logger = { workspace = true }
|
||||
chrono = { workspace = true, features = ["serde"] }
|
||||
serde = { workspace = true, features = ["derive"] }
|
||||
serde_json = { workspace = true }
|
||||
uuid = { workspace = true, features = ["serde", "v4"] }
|
||||
toml = { workspace = true }
|
||||
tokio = { workspace = true, features = ["sync", "time"] }
|
||||
|
||||
# Optional: Database
|
||||
diesel = { version = "2.1", features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"], optional = true }
|
||||
diesel = { workspace = true, features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"], optional = true }
|
||||
|
||||
# Optional: HTTP Client
|
||||
reqwest = { version = "0.12", features = ["json"], optional = true }
|
||||
reqwest = { workspace = true, features = ["json"], optional = true }
|
||||
|
||||
# Optional: Validation
|
||||
validator = { version = "0.18", features = ["derive"], optional = true }
|
||||
validator = { workspace = true, optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.41", features = ["rt", "macros"] }
|
||||
tokio = { workspace = true, features = ["rt", "macros"] }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue