Enable ssl via rustls

This commit is contained in:
Joscha 2022-06-22 21:49:38 +02:00
parent 2f5b4b1c2f
commit aa47233794
2 changed files with 9 additions and 1 deletions

6
Cargo.lock generated
View file

@ -1214,8 +1214,12 @@ checksum = "06cda1232a49558c46f8a504d5b93101d42c0bf7f911f12a105ba48168f821ae"
dependencies = [
"futures-util",
"log",
"rustls",
"rustls-native-certs",
"tokio",
"tokio-rustls",
"tungstenite 0.17.2",
"webpki",
]
[[package]]
@ -1263,10 +1267,12 @@ dependencies = [
"httparse",
"log",
"rand",
"rustls",
"sha-1 0.10.0",
"thiserror",
"url",
"utf-8",
"webpki",
]
[[package]]

View file

@ -18,5 +18,7 @@ serde = { version = "1.0.137", features = ["derive"] }
serde_json = "1.0.81"
thiserror = "1.0.31"
tokio = { version = "1.19.2", features = ["full"] }
tokio-tungstenite = "0.17.1"
tokio-tungstenite = { version = "0.17.1", features = [
"rustls-tls-native-roots",
] }
toss = { git = "https://github.com/Garmelon/toss.git", rev = "761519c1a7cdc950eab70fd6539c71bf22919a50" }