[package]
edition = "2024"
rust-version = "1.95.0"
name = "st337"
version = "0.3.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 337-2015 non-PCM audio/data burst-preamble framing over AES3 — spec-complete parse/serialize, no_std."
readme = "README.md"
keywords = [
"st337",
"smpte",
"aes3",
"iec61937",
"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"]
serde = ["dep:serde"]
std = [
"broadcast-common/std",
"thiserror/std",
]
[lib]
name = "st337"
path = "src/lib.rs"
[[example]]
name = "build_burst"
path = "examples/build_burst.rs"
[[example]]
name = "parse_burst"
path = "examples/parse_burst.rs"
[[test]]
name = "fixture_eac3"
path = "tests/fixture_eac3.rs"
[[test]]
name = "label_coverage"
path = "tests/label_coverage.rs"
[[test]]
name = "non_exhaustive_coverage"
path = "tests/non_exhaustive_coverage.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[dependencies.broadcast-common]
version = "9.3"
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"