[package]
edition = "2024"
rust-version = "1.95.0"
name = "ssai-runtime"
version = "0.2.1"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO SCTE-35 SSAI session core: per-session ad-break state, a pluggable ad-decision trait, splice-point conditioning, and per-session HLS Interstitial playlist rendering. No HTTP, no ad-decision client. no_std."
readme = "README.md"
keywords = [
"ssai",
"scte35",
"hls",
"ad-insertion",
"sans-io",
]
categories = [
"multimedia",
"no-std",
]
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 = [
"dep:serde",
"broadcast-common/serde",
"broadcast-hls/serde",
]
std = [
"broadcast-common/std",
"broadcast-hls/std",
"thiserror/std",
"serde?/std",
]
[lib]
name = "ssai_runtime"
path = "src/lib.rs"
[[example]]
name = "condition_real_cue"
path = "examples/condition_real_cue.rs"
[[example]]
name = "session_playlist"
path = "examples/session_playlist.rs"
[[test]]
name = "clock33_guard"
path = "tests/clock33_guard.rs"
[[test]]
name = "label_coverage"
path = "tests/label_coverage.rs"
[[test]]
name = "non_exhaustive_coverage"
path = "tests/non_exhaustive_coverage.rs"
[[test]]
name = "per_viewer_allocations"
path = "tests/per_viewer_allocations.rs"
[[test]]
name = "real_cue_conditioning"
path = "tests/real_cue_conditioning.rs"
[dependencies.broadcast-common]
version = "9.4"
default-features = false
[dependencies.broadcast-hls]
version = "0.3"
default-features = false
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
default-features = false
[dev-dependencies.mp4-emsg]
version = "0.4"
default-features = false
[dev-dependencies.scte35-splice]
version = "3.0"
default-features = false
[lints.rust]
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]