# 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.81"
name = "dvb-stream"
version = "0.2.2"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async/tokio stream adapters over dvb-si SiDemux and dvb-t2mi T2miPump."
readme = "README.md"
keywords = [
    "dvb",
    "tokio",
    "async",
    "stream",
    "mpeg",
]
categories = [
    "asynchronous",
    "multimedia",
    "network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fishloa/rust-broadcast"

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

[features]
default = ["udp"]
udp = []

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

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

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

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

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

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

[dependencies.dvb-si]
version = "8"
features = [
    "ts",
    "std",
]
default-features = false

[dependencies.dvb-t2mi]
version = "8"
features = [
    "ts",
    "std",
]
default-features = false

[dependencies.futures-core]
version = "0.3"

[dependencies.mpeg-ts]
version = "0.1"
features = ["std"]
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "io-util",
    "net",
]
default-features = false

[dev-dependencies.broadcast-common]
version = "8"

[dev-dependencies.futures-util]
version = "0.3"
default-features = false

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "time",
    "net",
    "io-util",
]
default-features = false
