playout-runtime 0.3.0

Sans-IO linear channel playout: a schedule model (programme/ad/slate), transition planning across a join (PTS-rebase offset + discontinuity detection), and SCTE-35 splice_insert() emission points built with scte35-splice. No HTTP, no tokio, no transcoding.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.95.0"
name = "playout-runtime"
version = "0.3.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO linear channel playout: a schedule model (programme/ad/slate), transition planning across a join (PTS-rebase offset + discontinuity detection), and SCTE-35 splice_insert() emission points built with scte35-splice. No HTTP, no tokio, no transcoding."
readme = "README.md"
keywords = [
    "scte35",
    "playout",
    "broadcast",
    "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",
    "ssai-runtime/serde",
    "scte35-splice/serde",
]
std = [
    "broadcast-common/std",
    "ssai-runtime/std",
    "scte35-splice/std",
    "thiserror/std",
    "serde?/std",
]

[lib]
name = "playout_runtime"
path = "src/lib.rs"

[[example]]
name = "emit_splice_from_real_cue"
path = "examples/emit_splice_from_real_cue.rs"

[[example]]
name = "schedule_and_transition"
path = "examples/schedule_and_transition.rs"

[[test]]
name = "clock33_guard"
path = "tests/clock33_guard.rs"

[[test]]
name = "label_coverage"
path = "tests/label_coverage.rs"

[[test]]
name = "no_panic_idioms_guard"
path = "tests/no_panic_idioms_guard.rs"

[[test]]
name = "non_exhaustive_coverage"
path = "tests/non_exhaustive_coverage.rs"

[[test]]
name = "real_fixture_transition"
path = "tests/real_fixture_transition.rs"

[dependencies.broadcast-common]
version = "10.0"
default-features = false

[dependencies.scte35-splice]
version = "4.0"
default-features = false

[dependencies.serde]
version = "1"
features = [
    "derive",
    "alloc",
]
optional = true
default-features = false

[dependencies.ssai-runtime]
version = "0.3"
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.mp4-emsg]
version = "0.5"
default-features = false

[lints.rust]
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]