Skip to content

Commit

Permalink
Update all dependencies to latest (#143)
Browse files Browse the repository at this point in the history
Tests pass, did local testing of the cli also, feels good!
  • Loading branch information
ostenbom authored Jan 21, 2025
1 parent 88bf406 commit b360ec6
Show file tree
Hide file tree
Showing 9 changed files with 755 additions and 447 deletions.
1,104 changes: 707 additions & 397 deletions Cargo.lock

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions linkup-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,38 @@ name = "linkup"
path = "src/main.rs"

[dependencies]
clap = { version = "4.5.20", features = ["derive", "cargo"] }
clap_complete = "4.5.33"
colored = "2.1.0"
clap = { version = "4.5.27", features = ["derive", "cargo"] }
clap_complete = "4.5.42"
colored = "3.0.0"
ctrlc = { version = "3.4.5", features = ["termination"] }
hickory-resolver = { version = "0.24.1", features = ["tokio-runtime"] }
hickory-resolver = { version = "0.24.2", features = ["tokio-runtime"] }
linkup = { path = "../linkup" }
linkup-local-server = { path = "../local-server" }
log = "0.4.22"
log = "0.4.25"
nix = { version = "0.29.0", features = ["signal"] }
rand = "0.8.5"
regex = "1.11.0"
reqwest = { version = "0.12.8", default-features = false, features = [
regex = "1.11.1"
reqwest = { version = "0.12.12", default-features = false, features = [
"json",
"multipart",
"blocking",
"rustls-tls",
"json",
] }
serde = "1.0.210"
serde_json = "1.0.129"
serde = "1.0.217"
serde_json = "1.0.137"
serde_yaml = "0.9.34"
tokio = { version = "1.40.0", features = ["macros"] }
thiserror = "1.0.64"
url = { version = "2.5.2", features = ["serde"] }
tokio = { version = "1.43.0", features = ["macros"] }
thiserror = "2.0.11"
url = { version = "2.5.4", features = ["serde"] }
base64 = "0.22.1"
env_logger = "0.11.5"
env_logger = "0.11.6"
crossterm = "0.28.1"
sysinfo = "0.32.1"
sysinfo = "0.33.1"
sha2 = "0.10.8"
hex = "0.4.3"
tar = "0.4.43"
flate2 = "1.0.35"

[dev-dependencies]
mockall = "0.13.0"
mockall = "0.13.1"
2 changes: 1 addition & 1 deletion linkup-cli/src/commands/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct Args {
pub no_tunnel: bool,
}

pub async fn start<'a>(
pub async fn start(
args: &Args,
fresh_state: bool,
config_arg: &Option<String>,
Expand Down
14 changes: 7 additions & 7 deletions linkup/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ edition = "2021"
[dependencies]
hex = "0.4.3"
rand = "0.8.5"
regex = "1.11.0"
serde = "1.0.210"
serde_json = "1.0.129"
regex = "1.11.1"
serde = "1.0.217"
serde_json = "1.0.137"
sha2 = "0.10.8"
thiserror = "1.0.64"
unicase = "2.7.0"
url = { version = "2.5.2", features = ["serde"] }
http = "1.1.0"
thiserror = "2.0.11"
unicase = "2.8.1"
url = { version = "2.5.4", features = ["serde"] }
http = "1.2.0"

[dev-dependencies]
tokio = { version = "1", features = ["test-util", "macros"] }
22 changes: 11 additions & 11 deletions local-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ name = "linkup_local_server"
path = "src/lib.rs"

[dependencies]
axum = { version = "0.7.7", features = ["http2", "json"] }
http = "1.1.0"
hyper = "1.5.0"
hyper-rustls = "0.27.3"
hyper-util = { version = "0.1.9", features = ["client-legacy"] }
axum = { version = "0.8.1", features = ["http2", "json"] }
http = "1.2.0"
hyper = "1.5.2"
hyper-rustls = "0.27.5"
hyper-util = { version = "0.1.10", features = ["client-legacy"] }
futures = "0.3.31"
linkup = { path = "../linkup" }
rustls = { version = "0.23.15", default-features = false, features = ["ring"] }
rustls-native-certs = "0.8.0"
thiserror = "1.0.64"
tokio = { version = "1.40.0", features = ["macros", "signal"] }
tower-http = { version = "0.6.1", features = ["trace"] }
tower = "0.5.1"
rustls = { version = "0.23.21", default-features = false, features = ["ring"] }
rustls-native-certs = "0.8.1"
thiserror = "2.0.11"
tokio = { version = "1.43.0", features = ["macros", "signal"] }
tower-http = { version = "0.6.2", features = ["trace"] }
tower = "0.5.2"
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.81.0"
channel = "stable"
16 changes: 8 additions & 8 deletions server-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ edition = "2021"
[dev-dependencies]
linkup = { path = "../linkup" }
linkup-local-server = { path = "../local-server" }
http = "1.1.0"
reqwest = { version = "0.12.8", default-features = false, features = [
http = "1.2.0"
reqwest = { version = "0.12.12", default-features = false, features = [
"blocking",
"rustls-tls",
] }
anyhow = "1.0.89"
anyhow = "1.0.95"
futures = "0.3.31"
axum = { version = "0.7.7", features = ["ws"] }
serde_json = "1.0.129"
tokio-tungstenite = "0.24.0"
tokio = { version = "1.40.0", features = ["test-util", "macros"] }
rstest = "0.23.0"
axum = { version = "0.8.1", features = ["ws"] }
serde_json = "1.0.137"
tokio-tungstenite = "0.26.1"
tokio = { version = "1.43.0", features = ["test-util", "macros"] }
rstest = "0.24.0"
4 changes: 1 addition & 3 deletions server-tests/tests/ws_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ async fn can_request_underlying_websocket_server(
// Send a message
let msg = "Hello, WebSocket!";
ws_stream
.send(tokio_tungstenite::tungstenite::Message::Text(
msg.to_string(),
))
.send(tokio_tungstenite::tungstenite::Message::Text(msg.into()))
.await
.expect("Failed to send message");

Expand Down
8 changes: 4 additions & 4 deletions worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ edition = "2021"
crate-type = ["cdylib"]

[dependencies]
axum = { version = "0.7.5", features = ["json"], default-features = false }
axum = { version = "0.8.1", features = ["json"], default-features = false }
console_error_panic_hook = { version = "0.1.7" }
futures = "0.3.31"
getrandom = { version = "0.2.15", features = ["js"] }
http = "1.1.0"
http = "1.2.0"
linkup = { path = "../linkup" }
regex = "1.11.0"
regex = "1.11.1"
tower-service = "0.3.3"
worker = { version = "0.4.2", features = ["http", "axum"] }
worker = { version = "0.5.0", features = ["http", "axum"] }

0 comments on commit b360ec6

Please sign in to comment.