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]
|
[dependencies]
|
||||||
# Core
|
# Core
|
||||||
anyhow = "1.0"
|
anyhow = { workspace = true }
|
||||||
thiserror = "2.0"
|
thiserror = { workspace = true }
|
||||||
log = "0.4"
|
log = { workspace = true }
|
||||||
env_logger = "0.11"
|
env_logger = { workspace = true }
|
||||||
chrono = { version = "0.4", features = ["serde"] }
|
chrono = { workspace = true, features = ["serde"] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { workspace = true, features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = { workspace = true }
|
||||||
uuid = { version = "1.11", features = ["serde", "v4"] }
|
uuid = { workspace = true, features = ["serde", "v4"] }
|
||||||
toml = "0.8"
|
toml = { workspace = true }
|
||||||
tokio = { version = "1.41", features = ["sync", "time"] }
|
tokio = { workspace = true, features = ["sync", "time"] }
|
||||||
|
|
||||||
# Optional: Database
|
# 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
|
# Optional: HTTP Client
|
||||||
reqwest = { version = "0.12", features = ["json"], optional = true }
|
reqwest = { workspace = true, features = ["json"], optional = true }
|
||||||
|
|
||||||
# Optional: Validation
|
# Optional: Validation
|
||||||
validator = { version = "0.18", features = ["derive"], optional = true }
|
validator = { workspace = true, optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.41", features = ["rt", "macros"] }
|
tokio = { workspace = true, features = ["rt", "macros"] }
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue