st291 0.4.0

SMPTE ST 291-1 ancillary (ANC) data content — typed parse/serialize for its transports: ST 2038:2021 MPEG-2 TS carriage (anc_data_descriptor + ANC data PES packet) and RFC 8331 / ST 2110-40 RTP carriage.
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 = "st291"
version = "0.4.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 = "SMPTE ST 291-1 ancillary (ANC) data content — typed parse/serialize for its transports: ST 2038:2021 MPEG-2 TS carriage (anc_data_descriptor + ANC data PES packet) and RFC 8331 / ST 2110-40 RTP carriage."
readme = "README.md"
keywords = [
    "st291",
    "smpte",
    "anc",
    "vanc",
    "broadcast",
]
categories = [
    "parser-implementations",
    "multimedia",
    "no-std",
]
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",
    "ts",
]
rtp = ["dep:rtp-packet"]
serde = ["dep:serde"]
std = [
    "broadcast-common/std",
    "thiserror/std",
    "rtp-packet?/std",
]
ts = []

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

[[example]]
name = "build_anc"
path = "examples/build_anc.rs"
required-features = ["ts"]

[[example]]
name = "build_anc_rtp"
path = "examples/build_anc_rtp.rs"
required-features = ["rtp"]

[[example]]
name = "parse_anc"
path = "examples/parse_anc.rs"
required-features = ["ts"]

[[example]]
name = "parse_anc_rtp"
path = "examples/parse_anc_rtp.rs"
required-features = ["rtp"]

[[test]]
name = "fixture_anc"
path = "tests/fixture_anc.rs"
required-features = ["ts"]

[[test]]
name = "fixture_anc_rtp"
path = "tests/fixture_anc_rtp.rs"
required-features = ["rtp"]

[[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.3"
default-features = false

[dependencies.rtp-packet]
version = "0.4"
optional = true
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

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

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