Skip to main content

crispy_iptv_types/
lib.rs

1//! Protocol-agnostic IPTV domain types and traits.
2//!
3//! This crate defines the shared vocabulary for all crispy-* IPTV crates.
4//! Each protocol crate (crispy-m3u, crispy-xtream, crispy-stalker, etc.)
5//! defines its own protocol-native output types. Consumers implement
6//! `From<ProtocolType>` conversions to map into their app-specific models.
7
8pub mod channel;
9pub mod epg;
10pub mod error;
11pub mod resolution;
12pub mod stream;
13pub mod vod;
14
15pub use channel::{CatchupConfig, CatchupType, PlaylistEntry};
16pub use epg::{
17    EpgAudio, EpgCredits, EpgEpisodeNumber, EpgIcon, EpgImage, EpgProgramme, EpgRating, EpgReview,
18    EpgStringWithLang, EpgVideo,
19};
20pub use error::IptvError;
21pub use resolution::Resolution;
22pub use stream::{StreamProtocol, StreamStatus, StreamUrl};
23pub use vod::VodEntry;