New crate tsc-media: - VideoFrame (I420, NV12, BGRA, RGBA with strides) and AudioBuffer (interleaved f32, 48 kHz) - YUV <-> RGB conversion with yuvutils-rs (BT.601 limited range), RGBA output for Slint pixel buffers, PSNR helper - Bounded drop-oldest frame channel with async and blocking receive - VideoEncoder / VideoDecoder traits, Codec (VP8, VP9, H.264, AV1) with an optional str0m mapping, codec preference (viewer VP9 > VP8 > AV1 > H.264, streamer hardware > VP8 > OpenH264 > VP9) and backend selection - libvpx VP8/VP9 encoder and decoder over libvpx-native-sys (small unsafe wrapper: realtime CBR, cpu-used 8, error resilient, screen content, runtime bitrate changes) - H.264 through Cisco's OpenH264 loaded at runtime (hash-checked), with an HTTPS + SHA-256 download helper - AV1 decoding through dav1d (feature av1) - Hardware encoder factory trait with VA-API / Media Foundation stubs deny.toml: allow the bzip2-1.0.6 license (pure Rust bzip2 used to unpack the OpenH264 download). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
51 lines
1.5 KiB
TOML
51 lines
1.5 KiB
TOML
# cargo-deny configuration: https://embarkstudios.github.io/cargo-deny/
|
|
|
|
[graph]
|
|
all-features = false
|
|
|
|
[advisories]
|
|
# Unmaintained crates are reported but only fail for direct dependencies.
|
|
unmaintained = "workspace"
|
|
ignore = [
|
|
# Marvin attack: timing side channel in RSA *private-key* operations of the
|
|
# `rsa` crate, pulled in by russh. TeamSpeak SSH query servers use RSA host
|
|
# keys, so russh needs RSA to verify the server's signature (a public-key
|
|
# operation). We never hold an RSA private key: query logins use passwords.
|
|
{ id = "RUSTSEC-2023-0071", reason = "only RSA signature verification is used (SSH host keys)" },
|
|
]
|
|
|
|
[licenses]
|
|
# Permissive licenses only. AGPL/GPL code (e.g. astrum-ts6) must never be
|
|
# linked; LGPL may be revisited for dynamically linked codecs.
|
|
allow = [
|
|
"MIT",
|
|
"Apache-2.0",
|
|
"Apache-2.0 WITH LLVM-exception",
|
|
"BSD-2-Clause",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"Unicode-3.0",
|
|
"CDLA-Permissive-2.0",
|
|
"MPL-2.0",
|
|
"BSL-1.0",
|
|
"Unlicense",
|
|
# Slint is triple licensed (GPL-3.0-only OR royalty-free OR commercial); we
|
|
# use the royalty-free license, which requires the attribution shown in the
|
|
# app's About page and the README.
|
|
"LicenseRef-Slint-Royalty-free-2.0",
|
|
# Permissive BSD-style license of bzip2, kept by its pure Rust port
|
|
# (libbz2-rs-sys), which tsc-media uses to unpack Cisco's OpenH264 download.
|
|
"bzip2-1.0.6",
|
|
]
|
|
confidence-threshold = 0.9
|
|
|
|
[bans]
|
|
multiple-versions = "allow"
|
|
wildcards = "deny"
|
|
allow-wildcard-paths = true
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|