[package]
edition = "2024"
rust-version = "1.86"
name = "scte35-splice"
version = "1.1.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
exclude = ["docs/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ANSI/SCTE 35 splice information (DPI cueing) — parser + serializer, no_std."
readme = "README.md"
keywords = [
"scte35",
"splice",
"ad-insertion",
"mpeg",
"broadcast",
]
categories = [
"parser-implementations",
"multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fishloa/rust-broadcast"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = [
"std",
"serde",
]
serde = ["dep:serde"]
std = [
"broadcast-common/std",
"thiserror/std",
]
[lib]
name = "scte35_splice"
path = "src/lib.rs"
[[example]]
name = "parse_splice_insert"
path = "examples/parse_splice_insert.rs"
[[example]]
name = "round_trip_and_descriptors"
path = "examples/round_trip_and_descriptors.rs"
[[test]]
name = "downloaded_scte35"
path = "tests/downloaded_scte35.rs"
[[test]]
name = "dvb_ta"
path = "tests/dvb_ta.rs"
[[test]]
name = "dvb_ta_spec_drift"
path = "tests/dvb_ta_spec_drift.rs"
[[test]]
name = "known_vectors"
path = "tests/known_vectors.rs"
[[test]]
name = "label_coverage"
path = "tests/label_coverage.rs"
[[test]]
name = "non_exhaustive_coverage"
path = "tests/non_exhaustive_coverage.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[[test]]
name = "serde_round_trip"
path = "tests/serde_round_trip.rs"
[[test]]
name = "spec_drift"
path = "tests/spec_drift.rs"
[[test]]
name = "spec_samples"
path = "tests/spec_samples.rs"
[dependencies.broadcast-common]
version = "8"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.serde_json]
version = "1.0"