# 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 = "2021"
rust-version = "1.75"
name = "dvb-scte35"
version = "6.6.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
exclude = ["docs/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ANSI/SCTE 35 2023r1 splice information (Digital Program Insertion cueing) parser + builder."
readme = "README.md"
keywords = [
    "scte35",
    "splice",
    "ad-insertion",
    "mpeg",
    "broadcast",
]
categories = [
    "parser-implementations",
    "multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fishloa/rust-dvb"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["serde"]
serde = ["dep:serde"]

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

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

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

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

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

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

[dependencies.dvb-common]
version = "6.6"

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

[dependencies.thiserror]
version = "2"

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.hex]
version = "0.4"

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