cc-data 0.7.0

Closed-caption cc_data() carriage (CEA-608/708), per ETSI TS 101 154 Table B.9.
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 = "cc-data"
version = "0.7.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 = "Closed-caption cc_data() carriage (CEA-608/708), per ETSI TS 101 154 Table B.9."
readme = "README.md"
keywords = [
    "dvb",
    "closed-caption",
    "cea-708",
    "cea-608",
    "cc-data",
]
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]
decode = []
default = [
    "std",
    "decode",
]
serde = ["dep:serde"]
std = [
    "broadcast-common/std",
    "thiserror/std",
    "serde?/std",
]

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

[[example]]
name = "build_cc_data"
path = "examples/build_cc_data.rs"

[[example]]
name = "decode_cea608"
path = "examples/decode_cea608.rs"
required-features = ["decode"]

[[example]]
name = "decode_cea708"
path = "examples/decode_cea708.rs"
required-features = ["decode"]

[[example]]
name = "parse_cc_data"
path = "examples/parse_cc_data.rs"

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

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

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

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

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

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

[dependencies.broadcast-common]
version = "10.0"
default-features = false

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

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

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

[lints.rust]
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(fuzzing)"]