@@ -24,23 +24,28 @@ path = "src/main_diesel.rs"
2424required-features = [" diesel" , " diesel-async" , " sailfish" ]
2525
2626[dependencies ]
27- viz = " 0.8 "
28- hyper = " 1.0 "
27+ viz = " 0.9 "
28+ hyper = " 1.4 "
2929hyper-util = " 0.1"
3030atoi = " 2.0"
3131serde = { version = " 1.0" , features = [" derive" ] }
32- nanorand = " 0.7"
3332rand = { version = " 0.8" , features = [" small_rng" ] }
3433thiserror = " 1.0"
3534futures-util = " 0.3"
3635
36+ [target .'cfg(not(unix))' .dependencies ]
37+ nanorand = { version = " 0.7" }
38+
39+ [target .'cfg(unix)' .dependencies ]
40+ nanorand = { version = " 0.7" , features = [" getrandom" ] }
41+
3742tokio = { version = " 1" , features = [" full" ] }
3843tokio-postgres = { version = " 0.7" , optional = true }
39- sqlx = { version = " 0.7 " , features = [
44+ sqlx = { version = " 0.8 " , features = [
4045 " postgres" ,
4146 " macros" ,
4247 " runtime-tokio" ,
43- " tls-native-tls"
48+ " tls-native-tls" ,
4449], optional = true }
4550diesel = { version = " 2.2" , default-features = false , features = [
4651 " 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
5358yarte = { version = " 0.15" , features = [" bytes-buf" , " json" ], optional = true }
5459markup = { version = " 0.15" , optional = true }
5560v_htmlescape = { version = " 0.15" , optional = true }
56- sailfish = { version = " 0.8 " , optional = true }
61+ sailfish = { version = " 0.9 " , optional = true }
5762
5863[profile .release ]
5964lto = true
0 commit comments