Files
DomiStream/crates/domistream/Cargo.toml
T

30 lines
1.5 KiB
TOML

[package]
name = "domistream"
description = "Sans-I/O GameStream client protocol for Arena Domi Play remotely"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
publish.workspace = true
[lints]
workspace = true
# Crypto: RustCrypto only, pure Rust, all MIT OR Apache-2.0 (fits CPAL-1.0). Chosen in Phase A, used in Phase B.
[dependencies]
aes = "0.9" # AES-128 block cipher (pairing ECB)
aes-gcm = { version = "0.11", default-features = false, features = ["aes", "alloc"] } # control and video AES-128-GCM; no getrandom, randomness only through RandomSource
cbc = "0.2" # audio AES-128-CBC
sha2 = "0.11" # pairing SHA-256
rsa = { version = "0.10", default-features = false, features = ["std", "encoding", "pkcs1v15"] } # client key, PKCS#1 v1.5 SHA-256; no getrandom: randomness only through RandomSource
x509-cert = { version = "0.3", default-features = false } # host and client certificate parsing (our own DER writer builds the client certificate)
rand_core = "0.10" # adapter from our RandomSource to the RustCrypto RNG traits
zeroize = "1.8" # wipe keys on drop
# Tests only. proptest without fork/timeout (no subprocesses, no threads); peak_alloc (MIT) is a counting global
# allocator, so tests can check that parsers never allocate past their caps without any unsafe code of ours.
[dev-dependencies]
proptest = { version = "1.12", default-features = false, features = ["std"] }
peak_alloc = "0.3"