dash-runtime 0.3.0

Sans-IO MPEG-DASH (ISO/IEC 23009-1): MPD model and parser, segment addressing, UTC clock and live-edge arithmetic, and a client for static and dynamic presentations. No I/O, no clock reads.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! `Display` agrees with `name()` for a sample of dash-runtime label enums.
//! (The source-scanning half of the #204 guard lives in `workspace-guards`.)

#[test]
fn display_matches_name_for_a_sample() {
    use dash_runtime::timing::clock::{AdoptReason, ClockSource};
    use dash_runtime::timing::utc_timing::UtcScheme;
    assert_eq!(
        ClockSource::UtcTiming.to_string(),
        ClockSource::UtcTiming.name()
    );
    assert_eq!(AdoptReason::Step.to_string(), "step");
    assert_eq!(UtcScheme::HttpXsdate.to_string(), "http_xsdate");
}