chore: update dependencies
This commit is contained in:
parent
dd71ac8820
commit
d7a287837e
1 changed files with 2 additions and 8 deletions
10
Cargo.toml
10
Cargo.toml
|
|
@ -12,9 +12,9 @@ categories = ["api-bindings", "web-programming"]
|
||||||
[features]
|
[features]
|
||||||
default = []
|
default = []
|
||||||
full = ["database", "http-client", "validation", "resilience", "i18n"]
|
full = ["database", "http-client", "validation", "resilience", "i18n"]
|
||||||
database = ["dep:diesel"]
|
database = []
|
||||||
http-client = ["dep:reqwest"]
|
http-client = ["dep:reqwest"]
|
||||||
validation = ["dep:validator"]
|
validation = []
|
||||||
resilience = []
|
resilience = []
|
||||||
i18n = []
|
i18n = []
|
||||||
|
|
||||||
|
|
@ -31,15 +31,9 @@ uuid = { workspace = true, features = ["serde", "v4"] }
|
||||||
toml = { workspace = true }
|
toml = { workspace = true }
|
||||||
tokio = { workspace = true, features = ["sync", "time"] }
|
tokio = { workspace = true, features = ["sync", "time"] }
|
||||||
|
|
||||||
# Optional: Database
|
|
||||||
diesel = { workspace = true, features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"], optional = true }
|
|
||||||
|
|
||||||
# Optional: HTTP Client
|
# Optional: HTTP Client
|
||||||
reqwest = { workspace = true, features = ["json", "rustls-tls"], optional = true }
|
reqwest = { workspace = true, features = ["json", "rustls-tls"], optional = true }
|
||||||
|
|
||||||
# Optional: Validation
|
|
||||||
validator = { workspace = true, optional = true }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { workspace = true, features = ["rt", "macros"] }
|
tokio = { workspace = true, features = ["rt", "macros"] }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue