[package]
edition = "2024"
rust-version = "1.86"
name = "rtmp-runtime"
version = "0.3.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
exclude = ["docs/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO RTMP 1.0 (Adobe Real-Time Messaging Protocol) ingest session engine — a driveable server-side publish state machine over the handshake, chunk stream, AMF0, and message layers; optional tokio socket adapter."
readme = "README.md"
keywords = [
"rtmp",
"ingest",
"streaming",
"flv",
"live",
]
categories = [
"multimedia",
"network-programming",
]
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 = []
serde = ["dep:serde"]
tokio = ["dep:tokio"]
[lib]
name = "rtmp_runtime"
path = "src/lib.rs"
[[example]]
name = "capture_publish"
path = "examples/capture_publish.rs"
required-features = ["tokio"]
[[example]]
name = "ingest_to_flv"
path = "examples/ingest_to_flv.rs"
[[test]]
name = "ingest_fixture"
path = "tests/ingest_fixture.rs"
[[test]]
name = "label_coverage"
path = "tests/label_coverage.rs"
[[test]]
name = "non_exhaustive_coverage"
path = "tests/non_exhaustive_coverage.rs"
[dependencies.broadcast-common]
version = "9"
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"net",
"io-util",
"rt",
"macros",
"sync",
]
optional = true
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.transmux]
version = "0.21"
features = ["std"]
default-features = false