Compare commits
55 Commits
220905
...
d65a7d232c
| Author | SHA1 | Date | |
|---|---|---|---|
| d65a7d232c | |||
| 76469dd6fc | |||
| c839a52f4c | |||
| c98bacb070 | |||
| 02fe48cb0d | |||
| a9ca0584ed | |||
| 82f2358f32 | |||
| 4e1302cf3f | |||
| ea177f6eb8 | |||
| 15d640127a | |||
| fefe684fdd | |||
| efa26e3d01 | |||
| 1ba7c9602b | |||
| 1ef7d3a52c | |||
| 0bb37ddfb2 | |||
| cdb0afc601 | |||
| 0cfe671320 | |||
| d15455e5ce | |||
| 6c75064a1c | |||
| 3e2720099e | |||
| 45bf153682 | |||
| 9920c63b8b | |||
| 369639510a | |||
| 0e1076cfb6 | |||
| 79cb4ff469 | |||
| 3c2ea933c4 | |||
| 0205a40600 | |||
| 0c7c6c4df2 | |||
| 9fa409df26 | |||
| 2f4af66a19 | |||
| 4b61f79be8 | |||
| 96bb688a32 | |||
| 6d6c8e4bfa | |||
| 27f6834ab5 | |||
| 5e3a36dbcc | |||
| 4468a75326 | |||
| 05474fd50e | |||
| 0572161b00 | |||
| 68f6d85ffe | |||
| 9ac66b702f | |||
| aa7bea05f5 | |||
| 5625a0d738 | |||
| 50c8ac03b2 | |||
| f0fec7564c | |||
| 9e383fc7cf | |||
| 8f688b54e3 | |||
| 47dde332d2 | |||
| a30122b533 | |||
| 011f70c119 | |||
| 2b1b2484af | |||
| 8efccaaa45 | |||
| 1574dd7196 | |||
| 3f5f92eaa6 | |||
| 58b21bf59d | |||
| 585735769f |
723
Cargo.lock
generated
723
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
24
Cargo.toml
24
Cargo.toml
@@ -5,27 +5,27 @@ edition = "2021"
|
|||||||
description = "TCP-over-HTTP solution"
|
description = "TCP-over-HTTP solution"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { version = "3.2.18", features = ["derive", "env"] }
|
clap = { version = "4.1.1", features = ["derive", "env"] }
|
||||||
log = "0.4.17"
|
log = "0.4.17"
|
||||||
env_logger = "0.9.0"
|
env_logger = "0.10.0"
|
||||||
actix = "0.13.0"
|
actix = "0.13.0"
|
||||||
actix-web = { version = "4", features = ["rustls"] }
|
actix-web = { version = "4", features = ["rustls"] }
|
||||||
actix-web-actors = "4.1.0"
|
actix-web-actors = "4.2.0"
|
||||||
actix-tls = "3.0.3"
|
actix-tls = "3.0.3"
|
||||||
serde = { version = "1.0.144", features = ["derive"] }
|
serde = { version = "1.0.152", features = ["derive"] }
|
||||||
tokio = { version = "1", features = ["full"] }
|
tokio = { version = "1", features = ["full"] }
|
||||||
futures = "0.3.24"
|
futures = "0.3.25"
|
||||||
webpki = "0.22.0"
|
webpki = "0.22.0"
|
||||||
x509-parser = "0.14.0"
|
x509-parser = "0.14.0"
|
||||||
pem = "1.1.0"
|
pem = "1.1.1"
|
||||||
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
|
reqwest = { version = "0.11", features = ["json", "rustls-tls"], default-features = false }
|
||||||
tokio-tungstenite = { version = "0.17.2", features = ["__rustls-tls", "rustls-tls-native-roots"] }
|
tokio-tungstenite = { version = "0.18.0", features = ["__rustls-tls", "rustls-tls-native-roots"] }
|
||||||
urlencoding = "2.1.0"
|
urlencoding = "2.1.2"
|
||||||
hyper-rustls = { version = "0.23.0", features = ["rustls-native-certs"] }
|
hyper-rustls = { version = "0.23.2", features = ["rustls-native-certs"] }
|
||||||
bytes = "1.2.1"
|
bytes = "1.2.1"
|
||||||
rustls-pemfile = "1.0.1"
|
rustls-pemfile = "1.0.2"
|
||||||
rustls = "0.20.6"
|
rustls = "0.20.7"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
mktemp = "0.4.1"
|
mktemp = "0.5.0"
|
||||||
@@ -93,7 +93,7 @@ fn load_pem_file(path: &Option<String>, name: &str) -> std::io::Result<Option<Ve
|
|||||||
None => None,
|
None => None,
|
||||||
Some(p) => Some(
|
Some(p) => Some(
|
||||||
std::fs::read(p)
|
std::fs::read(p)
|
||||||
.map_err(|e| encpasulate_error(e, format!("Failed to load {}!", name)))?,
|
.map_err(|e| encpasulate_error(e, format!("Failed to load {name}!")))?,
|
||||||
),
|
),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ pub async fn run_app(mut args: ClientConfig) -> std::io::Result<()> {
|
|||||||
Err(e) => {
|
Err(e) => {
|
||||||
Err(std::io::Error::new(
|
Err(std::io::Error::new(
|
||||||
ErrorKind::Other,
|
ErrorKind::Other,
|
||||||
format!("Failed to fetch relay configuration from server! {}", e),
|
format!("Failed to fetch relay configuration from server! {e}"),
|
||||||
))?;
|
))?;
|
||||||
unreachable!();
|
unreachable!();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user