rtmp-runtime 0.8.0

Sans-IO RTMP 1.0 (Adobe Real-Time Messaging Protocol) ingest session engine — a driveable server-side publish state machine over the handshake, chunk stream, AMF0, and message layers; optional tokio socket adapter.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Tripwire (audit umbrella #1142): no derived `Debug` over a secret-named field.
//!
//! See `tools/secret_debug_guard.inc.rs` for what it scans and its limits.

include!("../../tools/secret_debug_guard.inc.rs");

/// `(file suffix, type, reason)`: types whose secret-looking field name is not a secret.
const ALLOW: &[(&str, &str, &str)] = &[];

#[test]
fn no_derived_debug_over_secret_fields() {
    assert_no_derived_debug_on_secrets(env!("CARGO_MANIFEST_DIR"), ALLOW);
}

#[test]
fn no_handrolled_constant_time_compare() {
    assert_no_handrolled_ct_compare(env!("CARGO_MANIFEST_DIR"));
}