aboutsummaryrefslogtreecommitdiffstats
path: root/lib/warden-core/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warden-core/Cargo.toml')
-rw-r--r--lib/warden-core/Cargo.toml13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/warden-core/Cargo.toml b/lib/warden-core/Cargo.toml
index 9cd4617..bdf0af0 100644
--- a/lib/warden-core/Cargo.toml
+++ b/lib/warden-core/Cargo.toml
@@ -15,6 +15,7 @@ rustdoc-args = ["--cfg", "docsrs"]
prost = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
serde_json = { workspace = true, optional = true }
+time = { workspace = true, optional = true }
tonic = { workspace = true, optional = true }
tonic-types = { version = "0.14.0", optional = true }
utoipa = { workspace = true, optional = true }
@@ -23,7 +24,17 @@ utoipa = { workspace = true, optional = true }
default = []
iso20022 = ["dep:prost", "dep:tonic", "dep:tonic-types"]
serde = ["dep:serde", "serde/derive", "dep:serde_json"]
-openapi = ["dep:utoipa", "serde"]
+serde-time = [
+ "time",
+ "serde",
+ "time/serde",
+]
+time = [
+ "time/parsing",
+ "time/formatting",
+ "time/macros",
+]
+openapi = ["dep:utoipa", "serde-time", "utoipa/time"]
[build-dependencies]
tonic-prost-build = { version = "0.14.0", features = ["cleanup-markdown"] }