@@ 353,12 353,14 @@ name = "api"
version = "0.1.0"
dependencies = [
"actix-web",
+ "chrono",
"diesel",
"diesel_migrations",
"log",
"pretty_env_logger",
"serde",
"shared",
+ "uuid 0.8.2",
]
[[package]]
@@ 1149,7 1151,7 @@ dependencies = [
"proc-macro2",
"quote",
"syn",
- "uuid 1.2.2",
+ "uuid 1.3.0",
]
[[package]]
@@ 1225,7 1227,7 @@ dependencies = [
"ron",
"serde",
"thiserror",
- "uuid 1.2.2",
+ "uuid 1.3.0",
]
[[package]]
@@ 1365,7 1367,7 @@ dependencies = [
"hashbrown 0.12.3",
"instant",
"tracing",
- "uuid 1.2.2",
+ "uuid 1.3.0",
]
[[package]]
@@ 1620,6 1622,7 @@ dependencies = [
"js-sys",
"num-integer",
"num-traits",
+ "serde",
"time 0.1.45",
"wasm-bindgen",
"winapi",
@@ 2305,10 2308,12 @@ checksum = "4391a22b19c916e50bec4d6140f29bdda3e3bb187223fe6e3ea0b6e4d1021c04"
dependencies = [
"bitflags",
"byteorder",
+ "chrono",
"diesel_derives",
"itoa",
"pq-sys",
"r2d2",
+ "uuid 0.8.2",
]
[[package]]
@@ 2863,7 2868,7 @@ dependencies = [
"fnv",
"gilrs-core",
"log",
- "uuid 1.2.2",
+ "uuid 1.3.0",
"vec_map",
]
@@ 2880,7 2885,7 @@ dependencies = [
"libudev-sys",
"log",
"nix 0.25.0",
- "uuid 1.2.2",
+ "uuid 1.3.0",
"vec_map",
"wasm-bindgen",
"web-sys",
@@ 6025,13 6030,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
dependencies = [
"getrandom 0.2.8",
+ "serde",
]
[[package]]
name = "uuid"
-version = "1.2.2"
+version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "422ee0de9031b5b948b97a8fc04e3aa35230001a722ddd27943e0be31564ce4c"
+checksum = "1674845326ee10d37ca60470760d4288a6f80f304007d92e5c53bab78c9cfd79"
dependencies = [
"getrandom 0.2.8",
"serde",
@@ 22,6 22,17 @@ version = "1.0.152"
default-features = false
features = [ "derive" ]
+[dependencies.chrono]
+version = "0.4.23"
+default-features = false
+features = [ "alloc", "std", "serde" ]
+
+[dependencies.uuid]
+# this is the only version that works with diesel,
+# due to some issues with the Cargo resolver...
+version = "0.8.2"
+features = [ "std", "v4", "serde" ]
+
[dependencies.actix-web]
version = "4.3.0"
default-features = false
@@ 30,4 41,4 @@ features = ["macros", "compress-gzip"]
[dependencies.diesel]
version = "2.0.3"
default-features = false
-features = ["with-deprecated", "32-column-tables", "postgres", "r2d2"]
+features = ["with-deprecated", "32-column-tables", "postgres", "r2d2", "chrono", "uuid"]