diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 383eb2fce..a0c8437bb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -48,7 +48,7 @@ jobs: coverage: false include: - project: "libsignal-service-actix" - toolchain: "1.61" + toolchain: "1.70" coverage: false steps: - uses: actions/checkout@v3 diff --git a/libsignal-service-actix/Cargo.toml b/libsignal-service-actix/Cargo.toml index 7d8124c69..ca6fd46ac 100644 --- a/libsignal-service-actix/Cargo.toml +++ b/libsignal-service-actix/Cargo.toml @@ -4,6 +4,7 @@ version = "0.1.0" authors = ["Ruben De Smet "] edition = "2018" license = "AGPL-3.0" +rust-version = "1.70.0" [dependencies] # Contrary to hyper, actix does not have Send compatible futures, which means @@ -12,7 +13,6 @@ libsignal-service = { path = "../libsignal-service", features = ["unsend-futures awc = { version = "3.0.0-beta.19", features = ["rustls"] } actix = "0.13" -actix-http = "3.0.0-beta.19" actix-rt = "2.4" # mpart-async 0.6 requires Rust 2021, violating MSRV = 1.52 mpart-async = "0.5" diff --git a/libsignal-service-hyper/Cargo.toml b/libsignal-service-hyper/Cargo.toml index d54decbb2..a62147b57 100644 --- a/libsignal-service-hyper/Cargo.toml +++ b/libsignal-service-hyper/Cargo.toml @@ -4,12 +4,12 @@ version = "0.1.0" authors = ["Gabriel FĂ©ron "] edition = "2018" license = "AGPL-3.0" +rust-version = "1.70.0" [dependencies] libsignal-service = { path = "../libsignal-service" } async-trait = "0.1" -base64 = "0.13" bytes = "1.0" futures = "0.3" log = "0.4" @@ -20,25 +20,20 @@ thiserror = "1.0" url = "2.1" hyper = { version = "0.14", features = ["client", "stream"] } -hyper-rustls = "0.23" +hyper-rustls = "0.24" hyper-timeout = "0.4" headers = "0.3" # for websocket support -async-tungstenite = { version = "0.21", features = ["tokio-rustls-native-certs"] } +async-tungstenite = { version = "0.23", features = ["tokio-rustls-native-certs"] } tokio = { version = "1.0", features = ["macros"] } -tokio-rustls = "0.23" +tokio-rustls = "0.24" rustls-pemfile = "0.3" [dev-dependencies] -env_logger = "0.9" -image = { version = "0.23", default-features = false, features = ["png"] } -opener = "0.5" -qrcode = "0.12" rand = "0.8" -structopt = "0.3" tokio = { version = "1.0", features = ["rt-multi-thread"] } [features]