hls-runtime 0.4.0

Sans-IO Low-Latency HLS (RFC 8216bis) client + server engines in one crate (blocking reload, part prefetch, rolling-window origin), with an optional tokio+reqwest IO adapter.
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.86"
name = "hls-runtime"
version = "0.4.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO Low-Latency HLS (RFC 8216bis) client + server engines in one crate (blocking reload, part prefetch, rolling-window origin), with an optional tokio+reqwest IO adapter."
readme = "README.md"
keywords = [
    "hls",
    "llhls",
    "sans-io",
    "streaming",
    "client",
]
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"]
serde = ["dep:serde"]
std = [
    "broadcast-common/std",
    "thiserror/std",
    "transmux/std",
    "broadcast-hls/std",
    "media-plane/std",
    "dep:bytes",
]
tokio = [
    "std",
    "dep:tokio",
    "dep:reqwest",
    "dep:broadcast-auth",
]

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

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

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

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

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

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

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

[dependencies.broadcast-auth]
version = "0.2"
optional = true

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

[dependencies.broadcast-hls]
version = "0.1"
default-features = false

[dependencies.bytes]
version = "1"
optional = true
default-features = false

[dependencies.media-plane]
version = "0.2"
optional = true
default-features = false

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false

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

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

[dependencies.tokio]
version = "1"
features = ["time"]
optional = true
default-features = false

[dependencies.transmux]
version = "0.22"
default-features = false