-diesel = { version = "1.4.8", features = ["postgres","chrono","r2d2","serde_json"], optional = true }
-serde = { version = "1.0.136", features = ["derive"] }
+diesel = { version = "2.0.0", features = ["postgres","chrono","r2d2","serde_json"], optional = true }
+serde = { version = "1.0.145", features = ["derive"] }