mirror of
https://github.com/signalapp/libsignal.git
synced 2024-09-20 03:52:17 +02:00
9eb3483938
This MP4 format "sanitizer" currently only transforms (when necessary) outgoing media on iOS, Android, or Desktop to make it suitable for streaming playback by the recepient. In the future, it will validate and be able to either repair or reject outbound AND inbound media, to prevent malformed media from being fed to third party or OS media players. An generic io module was added to the libsignal rust bridge containing the InputStream trait, modeled loosely after Java's InputStream, which calls back into the client language to perform reads or skips. This infrastructure could potentially also be for any other future large data inputs to libsignal functions.
37 lines
965 B
TOML
37 lines
965 B
TOML
[workspace]
|
|
members = [
|
|
"rust/attest",
|
|
"rust/crypto",
|
|
"rust/device-transfer",
|
|
"rust/media",
|
|
"rust/pin",
|
|
"rust/poksho",
|
|
"rust/protocol",
|
|
"rust/usernames",
|
|
"rust/zkcredential",
|
|
"rust/zkgroup",
|
|
"rust/bridge/ffi",
|
|
"rust/bridge/jni",
|
|
"rust/bridge/node",
|
|
]
|
|
default-members = [
|
|
"rust/crypto",
|
|
"rust/device-transfer",
|
|
"rust/media",
|
|
"rust/pin",
|
|
"rust/poksho",
|
|
"rust/protocol",
|
|
"rust/usernames",
|
|
"rust/zkcredential",
|
|
"rust/zkgroup",
|
|
]
|
|
resolver = "2" # so that our dev-dependency features don't leak into products
|
|
|
|
[patch.crates-io]
|
|
# Use our fork of curve25519-dalek for eventual zkgroup support.
|
|
curve25519-dalek = { git = 'https://github.com/signalapp/curve25519-dalek', branch = 'lizard2' }
|
|
boring = { git = 'https://github.com/signalapp/boring', branch = 'libsignal'}
|
|
|
|
[profile.dev.package.argon2]
|
|
opt-level = 2 # signal-signal-pin unit tests are too slow with an unoptimized argon2
|