mp4box 0.9.0

MP4/ISOBMFF parser and editor: box trees, typed decoding, sample tables, fragmented MP4, and non-destructive editing
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.88"
name = "mp4box"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MP4/ISOBMFF parser and editor: box trees, typed decoding, sample tables, fragmented MP4, and non-destructive editing"
readme = "README.md"
keywords = [
    "mp4",
    "isobmff",
    "video",
    "parser",
    "media",
]
categories = [
    "multimedia::video",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/alfg/mp4box"

[features]
cli = [
    "dep:clap",
    "dep:serde_json",
]
default = [
    "edit",
    "cli",
]
edit = []

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

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

[[bin]]
name = "mp4edit"
path = "src/bin/mp4edit.rs"
required-features = [
    "cli",
    "edit",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
optional = true

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