0
0
mirror of https://github.com/signalapp/libsignal.git synced 2024-09-19 19:42:19 +02:00

Remove unused dependencies

This commit is contained in:
Alex Konradi 2024-06-18 16:05:21 -04:00 committed by GitHub
parent 95bf4e7715
commit 66436b7c48
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 1 additions and 62 deletions

30
Cargo.lock generated
View File

@ -276,7 +276,6 @@ dependencies = [
"displaydoc",
"hex",
"hex-literal",
"hmac",
"lazy_static",
"libc",
"log",
@ -1936,22 +1935,18 @@ dependencies = [
"base64 0.21.7",
"bincode",
"bytemuck",
"cfg-if",
"derive-where",
"device-transfer",
"displaydoc",
"futures-util",
"hex",
"hkdf",
"hmac",
"http 1.1.0",
"jni 0.21.1",
"libsignal-bridge-macros",
"libsignal-core",
"libsignal-message-backup",
"libsignal-net",
"libsignal-protocol",
"libsignal-svr3",
"linkme",
"log",
"mediasan-common",
@ -1966,7 +1961,6 @@ dependencies = [
"rayon",
"scopeguard",
"serde",
"serde_derive",
"sha2",
"signal-crypto",
"signal-media",
@ -1978,7 +1972,6 @@ dependencies = [
"test-case",
"thiserror",
"tokio",
"tokio-boring",
"usernames",
"uuid",
"zkgroup",
@ -2010,29 +2003,20 @@ dependencies = [
name = "libsignal-ffi"
version = "0.51.0"
dependencies = [
"async-trait",
"attest",
"cpufeatures",
"device-transfer",
"futures-util",
"libsignal-bridge",
"libsignal-net",
"libsignal-protocol",
"log",
"log-panics",
"rand",
"signal-crypto",
"signal-media",
"signal-pin",
"usernames",
"zkgroup",
]
[[package]]
name = "libsignal-jni"
version = "0.51.0"
dependencies = [
"async-trait",
"cfg-if",
"cpufeatures",
"jni 0.19.0",
@ -2041,7 +2025,6 @@ dependencies = [
"libsignal-protocol",
"log",
"log-panics",
"rand",
"rustls-platform-verifier",
"signal-crypto",
]
@ -2102,7 +2085,6 @@ name = "libsignal-message-backup-macros"
version = "0.1.0"
dependencies = [
"heck 0.3.3",
"lazy_static",
"proc-macro2",
"quote",
"syn 2.0.66",
@ -2132,7 +2114,6 @@ dependencies = [
"hex",
"hex-literal",
"hickory-proto",
"hkdf",
"hmac",
"http 1.1.0",
"http-body-util",
@ -2146,7 +2127,6 @@ dependencies = [
"log",
"nonzero_ext",
"num_enum",
"pin-project-lite",
"proptest",
"proptest-state-machine",
"prost",
@ -2179,7 +2159,6 @@ dependencies = [
name = "libsignal-node"
version = "0.51.0"
dependencies = [
"async-trait",
"cmake",
"futures",
"libsignal-bridge",
@ -2190,8 +2169,6 @@ dependencies = [
"minidump-processor",
"minidump-unwind",
"neon",
"rand",
"signal-neon-futures",
]
[[package]]
@ -2230,7 +2207,6 @@ dependencies = [
"serde",
"sha2",
"signal-crypto",
"static_assertions",
"subtle",
"thiserror",
"uuid",
@ -2242,8 +2218,6 @@ name = "libsignal-svr3"
version = "0.1.0"
dependencies = [
"assert_matches",
"attest",
"base64 0.21.7",
"bytemuck",
"criterion",
"curve25519-dalek",
@ -2251,7 +2225,6 @@ dependencies = [
"hex",
"hex-literal",
"hkdf",
"http 1.1.0",
"nonzero_ext",
"prost",
"prost-build",
@ -2260,7 +2233,6 @@ dependencies = [
"strum_macros",
"subtle",
"test-case",
"tokio",
]
[[package]]
@ -2905,7 +2877,6 @@ dependencies = [
"hmac",
"rand",
"sha2",
"subtle",
]
[[package]]
@ -3748,7 +3719,6 @@ dependencies = [
"hex-literal",
"hkdf",
"hmac",
"rand_core",
"sha2",
"static_assertions",
"thiserror",

View File

@ -22,7 +22,6 @@ ciborium = "0.2"
displaydoc = "0.2"
hex = { version = "0.4", features = ["serde"] }
hex-literal = "0.4.1"
hmac = "0.12"
lazy_static = "1.4.0"
libc = "0.2"
log = "0.4"

View File

@ -21,22 +21,14 @@ signal-media = ["libsignal-bridge/signal-media"]
testing-fns = ["libsignal-bridge/testing-fns"]
[dependencies]
attest = { path = "../../attest" }
device-transfer = { path = "../../device-transfer" }
libsignal-bridge = { path = "../shared", features = ["ffi"] }
libsignal-net = { path = "../../net" }
libsignal-protocol = { path = "../../protocol" }
signal-crypto = { path = "../../crypto" }
signal-media = { path = "../../media" }
signal-pin = { path = "../../pin" }
usernames = { path = "../../usernames" }
zkgroup = { path = "../../zkgroup" }
async-trait = "0.1.41"
futures-util = "0.3"
log = "0.4"
log-panics = { version = "2.1.0", features = ["with-backtrace"] }
rand = "0.8"
[target.aarch64-apple-ios.dependencies]
cpufeatures = "0.2.1" # Make sure iOS gets optimized crypto.

View File

@ -19,12 +19,10 @@ libsignal-bridge = { path = "../shared", features = ["jni", "signal-media"] }
libsignal-protocol = { path = "../../protocol" }
signal-crypto = { path = "../../crypto" }
async-trait = "0.1.41"
cfg-if = "1.0.0"
jni = "0.21.0"
log = "0.4"
log-panics = { version = "2.1.0", features = ["with-backtrace"] }
rand = "0.8"
[features]
testing-fns = ["libsignal-bridge/testing-fns"]

View File

@ -17,9 +17,7 @@ crate-type = ["cdylib"]
[dependencies]
libsignal-bridge = { path = "../shared", features = ["node", "signal-media"] }
libsignal-protocol = { path = "../../protocol" }
signal-neon-futures = { path = "futures" }
async-trait = "0.1.41"
futures = { version = "0.3", default-features = false, features = ["executor"] }
log = "0.4"
log-panics = { version = "2.0.0", features = ["with-backtrace"] }
@ -27,7 +25,6 @@ minidump = { version = "0.20.0", default-features = false }
minidump-processor = { version = "0.20.0", default-features = false }
minidump-unwind = { version = "0.20.0", default-features = false }
neon = { version = "1.0.0", default-features = false, features = ["napi-6"] }
rand = "0.8"
[build-dependencies]
# cmake 0.1.49 breaks no-toolchain Windows cross-compilation using Visual Studio

View File

@ -14,11 +14,9 @@ license = "AGPL-3.0-only"
attest = { path = "../../attest" }
device-transfer = { path = "../../device-transfer" }
libsignal-bridge-macros = { path = "macros" }
libsignal-core = { path = "../../core" }
libsignal-message-backup = { path = "../../message-backup" }
libsignal-net = { path = "../../net" }
libsignal-protocol = { path = "../../protocol" }
libsignal-svr3 = { path = "../../svr3" }
signal-crypto = { path = "../../crypto" }
signal-media = { path = "../../media", optional = true }
signal-pin = { path = "../../pin" }
@ -30,11 +28,9 @@ async-trait = "0.1.41"
atomic-take = "1.1.0"
base64 = "0.21"
bincode = "1.0"
cfg-if = "1.0"
derive-where = "1.2.5"
displaydoc = "0.2"
futures-util = "0.3.7"
hex = "0.4.3"
hkdf = "0.12"
hmac = "0.12.0"
http = "1.0.0"
@ -50,12 +46,10 @@ rand = "0.8"
rayon = "1.8.0"
scopeguard = "1.0"
serde = "1.0"
serde_derive = { version = "1.0.180", features = ["deserialize_in_place"] }
sha2 = "0.10"
static_assertions = "1.1"
thiserror = "1.0.50"
tokio = { version = "1", features = ["rt-multi-thread"] }
tokio-boring = { git = "https://github.com/signalapp/boring", tag = "signal-v4.6.0" }
uuid = "1.1.2"
# Enable this for all libsignal app language libraries

View File

@ -14,7 +14,6 @@ proc_macro = true
[dependencies]
heck = "0.3.1"
lazy_static = "1.4.0"
proc-macro2 = "1.0.74"
quote = "1.0.35"
syn = { version = "2.0.46", features = ["full", "extra-traits"] }

View File

@ -23,8 +23,6 @@ displaydoc = "0.2"
either = "1.10.0"
futures-util = "0.3.7"
hex = "0.4"
hex-literal = "0.4.1"
hkdf = "0.12.3"
hmac = "0.12"
http = "1.0.0"
http-body-util = "0.1.1"
@ -34,7 +32,6 @@ itertools = "0.12.0"
log = "0.4.19"
nonzero_ext = "0.3.0"
num_enum = "0.6.1"
pin-project-lite = "0.2.4"
prost = "0.12.1"
rand = "0.8.0"
rand_core = "0.6"
@ -62,6 +59,7 @@ assert_matches = "1.5.0"
clap = { version = "4.4.11", features = ["derive"] }
colored = "2.1"
env_logger = "0.10.0"
hex-literal = "0.4.1"
hickory-proto = "0.24.1"
lazy_static = "1.4.0"
proptest = "1.4.0"

View File

@ -15,7 +15,6 @@ license = "AGPL-3.0-only"
argon2 = { version = "0.5.0", features = ["zeroize"] }
displaydoc = "0.2"
hkdf = "0.12"
rand_core = { version = "0.6", features = ["getrandom"] }
sha2 = "0.10"
static_assertions = "1.1"
thiserror = "1.0.57"

View File

@ -14,7 +14,6 @@ license = "AGPL-3.0-only"
curve25519-dalek = "4.0"
hmac = { version = "0.12", features = ["reset"] }
sha2 = "0.10"
subtle = "2.5"
[dev-dependencies]
hex = "0.4"

View File

@ -36,7 +36,6 @@ rand = "0.8"
rayon = "1.8.0"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10"
static_assertions = "1.1"
subtle = "2.3"
thiserror = "1.0.30"
uuid = "1.1.2"

View File

@ -10,19 +10,14 @@ authors = ["Signal Messenger LLC"]
license = "AGPL-3.0-only"
[dependencies]
attest = { path = "../attest" }
base64 = "0.21.5"
curve25519-dalek = { version = "4.0", features = ["rand_core"] }
displaydoc = "0.2"
hkdf = "0.12"
http = "1.0.0"
prost = "0.12.1"
rand_core = { version = "0.6", features = ["getrandom"] }
sha2 = "0.10"
strum_macros = "0.26"
subtle = "2.5"
tokio = { version = "1.33.0", features = [] }
[dev-dependencies]
assert_matches = "1.5"