buffering-runtime 0.5.0

Sans-IO live-TS playout buffer controller: measures delivery jitter (RFC 5481 PDV), keeps a stall memory, and decides when a player should start, pause and resume and how deep its buffer must be. Integer-only, no_std + alloc.
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 = "buffering-runtime"
version = "0.5.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
exclude = ["fuzz/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO live-TS playout buffer controller: measures delivery jitter (RFC 5481 PDV), keeps a stall memory, and decides when a player should start, pause and resume and how deep its buffer must be. Integer-only, no_std + alloc."
readme = "README.md"
keywords = [
    "jitter",
    "buffer",
    "playout",
    "mpeg-ts",
    "live",
]
categories = [
    "multimedia",
    "no-std",
    "algorithms",
]
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",
]
std = [
    "broadcast-common/std",
    "thiserror/std",
    "serde?/std",
]

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

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

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

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

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

[[test]]
name = "it"
path = "tests/it/main.rs"

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

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

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

[dev-dependencies.serde_json]
version = "1.0"

[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)"]