-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-flatten crate structure and get rid of PushService trait #331
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
dbf0fd8
Re-flatten crate structure and get rid of PushService trait
gferon 36086bc
Adjust info
gferon cfd566b
Adjust CI
gferon 04bddab
Split PushService into smaller files
gferon 62f53d3
Clippy
gferon 6496607
Less modules
gferon ceed9e6
Add MSRV to CI
gferon 12698f4
Fix CI
gferon 9baf4c2
Fix CI #2
gferon dfb9456
Update ci.yaml
gferon 372d231
CI Rust cache
gferon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure whether WF will be compatible for now without the Unsend feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, I can definitely check that. It was my understanding that this was only for
libsignal-service-actix
. I'll double check.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with whisperfish/whisperfish@e93ed19 I can confirm my initial suspicion, we can remove
unsend-futures
.