1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! rswidevine - Rust Widevine CDM implementation.
//!
//! This crate provides:
//! - Widevine device (.wvd) parsing and export.
//! - CDM session management and license processing.
//! - PSSH parsing/generation with optional PlayReady conversion.
//! - Optional remote CDM client and HTTP serve API.
//!
//! Feature flags:
//! - `cli`: enable the CLI binary helpers.
//! - `playready`: enable PlayReady XML parsing and conversion.
//! - `remote`: enable RemoteCDM client support.
//! - `serve`: enable HTTP serve API.
//! - `chrono`: use chrono for date handling in CLI.
//! - `tracing`: enable tracing macros and subscriber.
/// Core CDM implementation.
/// Widevine device (.wvd) parsing and serialization.
/// Common error types and Result alias.
/// Decrypted key representation.
/// PSSH parsing and conversion utilities.
/// CDM session container.
/// Shared helper utilities.
/// Remote CDM client (feature: `remote`).
/// HTTP serve API (feature: `serve`).
// Protobuf-generated license protocol definitions (kept private).
/// Protobuf-generated license protocol definitions.