rtmp-runtime 0.2.0

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.
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 = "rtmp-runtime"
version = "0.2.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"

[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.20"
features = ["std"]
default-features = false