|
@@ -24,23 +24,28 @@ path = "src/main_diesel.rs"
|
|
required-features = ["diesel", "diesel-async", "sailfish"]
|
|
required-features = ["diesel", "diesel-async", "sailfish"]
|
|
|
|
|
|
[dependencies]
|
|
[dependencies]
|
|
-viz = "0.8"
|
|
|
|
-hyper = "1.0"
|
|
|
|
|
|
+viz = "0.9"
|
|
|
|
+hyper = "1.4"
|
|
hyper-util = "0.1"
|
|
hyper-util = "0.1"
|
|
atoi = "2.0"
|
|
atoi = "2.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
-nanorand = "0.7"
|
|
|
|
rand = { version = "0.8", features = ["small_rng"] }
|
|
rand = { version = "0.8", features = ["small_rng"] }
|
|
thiserror = "1.0"
|
|
thiserror = "1.0"
|
|
futures-util = "0.3"
|
|
futures-util = "0.3"
|
|
|
|
|
|
|
|
+[target.'cfg(not(unix))'.dependencies]
|
|
|
|
+nanorand = { version = "0.7" }
|
|
|
|
+
|
|
|
|
+[target.'cfg(unix)'.dependencies]
|
|
|
|
+nanorand = { version = "0.7", features = ["getrandom"] }
|
|
|
|
+
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
tokio-postgres = { version = "0.7", optional = true }
|
|
tokio-postgres = { version = "0.7", optional = true }
|
|
-sqlx = { version = "0.7", features = [
|
|
|
|
|
|
+sqlx = { version = "0.8", features = [
|
|
"postgres",
|
|
"postgres",
|
|
"macros",
|
|
"macros",
|
|
"runtime-tokio",
|
|
"runtime-tokio",
|
|
- "tls-native-tls"
|
|
|
|
|
|
+ "tls-native-tls",
|
|
], optional = true }
|
|
], optional = true }
|
|
diesel = { version = "2.2", default-features = false, features = [
|
|
diesel = { version = "2.2", default-features = false, features = [
|
|
"i-implement-a-third-party-backend-and-opt-into-breaking-changes",
|
|
"i-implement-a-third-party-backend-and-opt-into-breaking-changes",
|
|
@@ -53,7 +58,7 @@ diesel-async = { git = "https://github.com/weiznich/diesel_async.git", rev = "74
|
|
yarte = { version = "0.15", features = ["bytes-buf", "json"], optional = true }
|
|
yarte = { version = "0.15", features = ["bytes-buf", "json"], optional = true }
|
|
markup = { version = "0.15", optional = true }
|
|
markup = { version = "0.15", optional = true }
|
|
v_htmlescape = { version = "0.15", optional = true }
|
|
v_htmlescape = { version = "0.15", optional = true }
|
|
-sailfish = { version = "0.8", optional = true }
|
|
|
|
|
|
+sailfish = { version = "0.9", optional = true }
|
|
|
|
|
|
[profile.release]
|
|
[profile.release]
|
|
lto = true
|
|
lto = true
|