-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into upgrade-aes
- Loading branch information
Showing
20 changed files
with
272 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,22 +3,23 @@ name = "libsignal-service-actix" | |
version = "0.1.0" | ||
authors = ["Ruben De Smet <[email protected]>"] | ||
edition = "2018" | ||
license = "AGPL-3.0" | ||
rust-version = "1.70.0" | ||
|
||
[dependencies] | ||
# Contrary to hyper, actix does not have Send compatible futures, which means | ||
# the Send requirement in libsignal-service needs to be lifted by enabling `unsend-futures`. | ||
libsignal-service = { path = "../libsignal-service", features = ["unsend-futures"] } | ||
|
||
awc = { version = "3.0.0-beta.19", features = ["rustls"] } | ||
awc = { version = "3.2.0", features = ["rustls-0_21"] } | ||
actix = "0.13" | ||
actix-http = "3.0.0-beta.19" | ||
actix-http = "3.2.0" | ||
actix-rt = "2.4" | ||
# mpart-async 0.6 requires Rust 2021, violating MSRV = 1.52 | ||
mpart-async = "0.5" | ||
mpart-async = "0.6" | ||
serde_json = "1.0" | ||
futures = "0.3" | ||
bytes = "1" | ||
rustls = "0.20" | ||
rustls = "0.21" | ||
rustls-pemfile = "0.3" | ||
url = "2.1" | ||
serde = "1.0" | ||
|
@@ -31,9 +32,6 @@ base64 = "0.13" | |
|
||
phonenumber = "0.3" | ||
|
||
proc-macro2 = { version = "1.0.66", optional = true } | ||
quote = { version = "1.0.33", optional = true } | ||
|
||
[dev-dependencies] | ||
env_logger = "0.9" | ||
image = { version = "0.23", default-features = false, features = ["png"] } | ||
|
@@ -42,6 +40,3 @@ qrcode = "0.12" | |
structopt = "0.3" | ||
tokio = { version = "1", features = ["macros"] } | ||
anyhow = "1.0" | ||
|
||
[features] | ||
rust-1-52 = ["proc-macro2", "quote"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,13 @@ name = "libsignal-service-hyper" | |
version = "0.1.0" | ||
authors = ["Gabriel Féron <[email protected]>"] | ||
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" | ||
|
@@ -19,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.17", 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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "libsignal-service" | |
version = "0.1.0" | ||
authors = ["Ruben De Smet <[email protected]>", "Gabriel Féron <[email protected]>", "Michael Bryan <[email protected]>", "Shady Khalifa <[email protected]>"] | ||
edition = "2018" | ||
license = "GPLv3" | ||
license = "AGPL-3.0" | ||
readme = "../README.md" | ||
|
||
[dependencies] | ||
|
@@ -42,7 +42,7 @@ prost-build = "0.10" | |
anyhow = "1.0" | ||
tokio = { version = "1.0", features = ["macros", "rt"] } | ||
|
||
rustls = "0.20" | ||
rustls = "0.21" | ||
|
||
[features] | ||
unsend-futures = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.