diff --git a/Cargo.toml b/Cargo.toml index 040cebe..0d2b98b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,9 +12,9 @@ categories = ["api-bindings", "web-programming"] [features] default = [] full = ["database", "http-client", "validation", "resilience", "i18n"] -database = ["dep:diesel"] +database = [] http-client = ["dep:reqwest"] -validation = ["dep:validator"] +validation = [] resilience = [] i18n = [] @@ -31,15 +31,9 @@ uuid = { workspace = true, features = ["serde", "v4"] } toml = { workspace = true } tokio = { workspace = true, features = ["sync", "time"] } -# Optional: Database -diesel = { workspace = true, features = ["postgres", "uuid", "chrono", "serde_json", "r2d2"], optional = true } - # Optional: HTTP Client reqwest = { workspace = true, features = ["json", "rustls-tls"], optional = true } -# Optional: Validation -validator = { workspace = true, optional = true } - [dev-dependencies] tokio = { workspace = true, features = ["rt", "macros"] }