[package]
name = "dvb-subtitle"
version = "0.4.0"
edition = "2024"
description = "DVB subtitling (bitmap) segment parser — ETSI EN 300 743, the segments carried in subtitle PES."
license = "MIT OR Apache-2.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
keywords = ["dvb", "subtitle", "subtitling", "broadcast", "mpeg-ts"]
categories = ["parser-implementations", "multimedia", "no-std"]
repository = "https://github.com/fishloa/rust-broadcast"
readme = "README.md"
rust-version.workspace = true
exclude = ["docs/**", "tests/fixtures/**"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
broadcast-common = { path = "../broadcast-common", version = "9.3", default-features = false }
thiserror = { version = "2", default-features = false }
serde = { version = "1", optional = true, features = ["derive"] }
[dev-dependencies]
serde_json = "1.0"
mpeg-pes = { path = "../mpeg-pes", version = "0.4" }
[features]
default = ["std"]
std = ["broadcast-common/std", "thiserror/std"]
serde = ["dep:serde"]