rtsp-runtime 0.5.0

Sans-IO RTSP 1.0 (RFC 2326) session engine — driveable client + server state machines, interleaved RTP/RTCP framing, Basic/Digest/Bearer auth (via broadcast-auth), over the rtsp-types + sdp-types codecs; optional tokio (+ rustls) 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 = "rtsp-runtime"
version = "0.5.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
exclude = [
    "docs/**",
    "tests/fixtures/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sans-IO RTSP 1.0 (RFC 2326) session engine — driveable client + server state machines, interleaved RTP/RTCP framing, Basic/Digest/Bearer auth (via broadcast-auth), over the rtsp-types + sdp-types codecs; optional tokio (+ rustls) socket adapter."
readme = "README.md"
keywords = [
    "rtsp",
    "streaming",
    "rtp",
    "sans-io",
    "onvif",
]
categories = [
    "multimedia",
    "network-programming",
    "api-bindings",
]
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"]
tls = [
    "tokio",
    "dep:tokio-rustls",
    "dep:rustls",
    "dep:webpki-roots",
]
tokio = ["dep:tokio"]

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

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

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

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

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

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

[dependencies.log]
version = "0.4"

[dependencies.rtsp-types]
version = "0.1"

[dependencies.rustls]
version = "0.23"
optional = true

[dependencies.sdp-types]
version = "0.1"

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "io-util",
    "rt",
    "macros",
    "time",
]
optional = true

[dependencies.tokio-rustls]
version = "0.26"
optional = true

[dependencies.webpki-roots]
version = "0.26"
optional = true

[dev-dependencies.sdp-types]
version = "0.1"

[dev-dependencies.tokio]
version = "1"
features = ["full"]