-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-flatten crate structure and get rid of PushService trait (#331)
This is a first step to refactor PushService and split the push_service.rs file in many smaller parts. Co-authored-by: Ruben De Smet <[email protected]>
- Loading branch information
Showing
74 changed files
with
1,550 additions
and
3,253 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,62 @@ | ||
[workspace] | ||
members = ["libsignal-service", "libsignal-service-actix", "libsignal-service-hyper"] | ||
default-members = ["libsignal-service", "libsignal-service-hyper"] | ||
[package] | ||
name = "libsignal-service" | ||
version = "0.1.0" | ||
authors = ["Ruben De Smet <[email protected]>", "Gabriel Féron <[email protected]>"] | ||
edition = "2021" | ||
license = "AGPL-3.0" | ||
readme = "README.md" | ||
|
||
resolver = "2" | ||
[dependencies] | ||
libsignal-protocol = { git = "https://github.com/signalapp/libsignal", tag = "v0.56.1" } | ||
zkgroup = { git = "https://github.com/signalapp/libsignal", tag = "v0.56.1" } | ||
|
||
aes = "0.8" | ||
aes-gcm = "0.10" | ||
cbc = "0.1" | ||
ctr = "0.9" | ||
async-trait = "0.1" | ||
base64 = "0.22" | ||
bincode = "1.3" | ||
bytes = "1" | ||
chrono = { version = "0.4", features = ["serde", "clock"], default-features = false } | ||
derivative = "2.2" | ||
futures = "0.3" | ||
hex = "0.4" | ||
hkdf = "0.12" | ||
hmac = "0.12" | ||
phonenumber = "0.3" | ||
prost = "0.13" | ||
rand = "0.8" | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_json = "1.0.85" | ||
sha2 = "0.10" | ||
thiserror = "1.0" | ||
url = { version = "2.1", features = ["serde"] } | ||
uuid = { version = "1", features = ["serde"] } | ||
|
||
# http | ||
hyper = "1.0" | ||
hyper-util = { version = "0.1", features = ["client", "client-legacy"] } | ||
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "http2", "ring", "logging"] } | ||
hyper-timeout = "0.5" | ||
headers = "0.4" | ||
http-body-util = "0.1" | ||
mpart-async = "0.7" | ||
async-tungstenite = { version = "0.27", features = ["tokio-rustls-native-certs", "url"] } | ||
tokio = { version = "1.0", features = ["macros"] } | ||
tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "ring"] } | ||
|
||
rustls-pemfile = "2.0" | ||
|
||
tracing = { version = "0.1", features = ["log"] } | ||
tracing-futures = "0.2" | ||
|
||
[build-dependencies] | ||
prost-build = "0.13" | ||
|
||
[dev-dependencies] | ||
anyhow = "1.0" | ||
tokio = { version = "1.0", features = ["macros", "rt"] } | ||
|
||
[patch.crates-io] | ||
curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', tag = 'signal-curve25519-4.1.3' } |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.