ts-fix 0.5.0

MPEG-2 TS repair / remux — continuity, PID filter, PAT/PMT regen, stuffing, PCR restamp (ISO/IEC 13818-1).
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 = "ts-fix"
version = "0.5.0"
build = false
exclude = ["tests/fixtures/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MPEG-2 TS repair / remux — continuity, PID filter, PAT/PMT regen, stuffing, PCR restamp (ISO/IEC 13818-1)."
readme = "README.md"
keywords = [
    "mpeg-ts",
    "transport-stream",
    "repair",
    "remux",
    "dvb",
]
categories = [
    "parser-implementations",
    "multimedia::video",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fishloa/rust-broadcast"
resolver = "2"

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

[features]
cli = [
    "std",
    "dep:clap",
]
default = [
    "std",
    "cli",
]
std = [
    "broadcast-common/std",
    "mpeg-ts/std",
    "mpeg-pes/std",
    "dvb-si/std",
    "dvb-conformance/std",
    "thiserror/std",
]

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

[[bin]]
name = "ts-fix"
path = "src/bin/ts-fix.rs"
required-features = ["cli"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true

[dependencies.dvb-conformance]
version = "10"
default-features = false

[dependencies.dvb-si]
version = "10"
default-features = false

[dependencies.mpeg-pes]
version = "0.4"
default-features = false

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

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

[dev-dependencies.scte35-splice]
version = "2.1"
default-features = false