# 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"
name = "mpeg2ts-reader"
version = "0.18.2"
authors = ["David Holroyd <dave@badgers-in-foil.co.uk>"]
build = false
exclude = ["testsrc.ts"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parser for MPEG Transport Stream data"
readme = "README.md"
keywords = [
    "mpegts",
    "ISO-13818-1",
    "H-222-0",
]
categories = [
    "multimedia::video",
    "parser-implementations",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/dholroyd/mpeg2ts-reader"

[profile.bench]
debug = 2

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

[[example]]
name = "dump-pcr"
path = "examples/dump-pcr.rs"

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

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

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[[bench]]
name = "ci_bench"
path = "benches/ci_bench.rs"
harness = false

[dependencies.encoding_rs]
version = "0.8"

[dependencies.fixedbitset]
version = "0.5.0"

[dependencies.log]
version = "0.4"

[dependencies.smptera-format-identifiers-rust]
version = "0.4.0"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.bitstream-io]
version = "2.2"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.env_logger]
version = "0.11.2"

[dev-dependencies.hex-literal]
version = "0.2.1"

[dev-dependencies.hex-slice]
version = "0.1.4"

[dev-dependencies.iai-callgrind]
version = "0.14.0"

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