[package]
edition = "2024"
rust-version = "1.95.0"
name = "smooth-runtime"
version = "0.1.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
exclude = [
"docs/**",
"fuzz/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO Smooth Streaming (MS-SSTR) engine: a pull client (manifest fetch/refresh, stream/quality selection, chunk enumeration, fragment URLs, init/tfxd handling, retry/backoff, live join) and a live origin that renders the client Manifest and serves fragments from a media-plane Trunk. No I/O, no clock reads."
readme = "README.md"
keywords = [
"smooth-streaming",
"ms-sstr",
"sans-io",
"streaming",
"manifest",
]
categories = [
"multimedia",
"network-programming",
"parser-implementations",
]
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"]
std = [
"broadcast-common/std",
"broadcast-smooth/std",
"transmux/std",
"thiserror/std",
"media-plane/std",
"dep:bytes",
]
[lib]
name = "smooth_runtime"
path = "src/lib.rs"
[[example]]
name = "play_live"
path = "examples/play_live.rs"
[[example]]
name = "play_static"
path = "examples/play_static.rs"
[[test]]
name = "it"
path = "tests/it/main.rs"
[dependencies.broadcast-common]
version = "12.0.0"
features = [
"std",
"xml",
"url",
]
default-features = false
[dependencies.broadcast-smooth]
version = "0.1.0"
[dependencies.bytes]
version = "1"
optional = true
[dependencies.media-plane]
version = "0.11.0"
optional = true
default-features = false
[dependencies.thiserror]
version = "2"
[dependencies.transmux]
version = "0.31.0"
features = ["std"]
default-features = false
[dependencies.url]
version = "2"
[dev-dependencies.quick-xml]
version = "0.42"
default-features = false
[lints.clippy]
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
[lints.rust]
unsafe_code = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]