# 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-t2mi"
version = "3.1.2"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
exclude = ["docs/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ETSI TS 102 773 DVB-T2 Modulator Interface parser + builder."
readme = "README.md"
keywords = [
    "dvb",
    "t2mi",
    "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 = ["ts"]
serde = ["dep:serde"]
ts = ["dep:bytes"]
yoke = ["dep:yoke"]

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

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

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

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

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

[dependencies.bytes]
version = "1"
optional = true

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

[dependencies.num_enum]
version = "0.7"

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

[dependencies.thiserror]
version = "2"

[dependencies.yoke]
version = "0.7"
features = ["derive"]
optional = true

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