# 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 = "2018"
rust-version = "1.55.0"
name = "dolby_vision"
version = "1.3.0"
authors = ["quietvoid"]
description = "Dolby Vision metadata parsing and writing"
license = "MIT"
repository = "https://github.com/quietvoid/dovi_tool"
[package.metadata.capi.header]
name = "rpu_parser"
subdirectory = "libdovi"

[package.metadata.capi.library]
name = "dovi"
rustflags = "-Cpanic=abort"

[package.metadata.capi.pkg_config]
filename = "dovi"
name = "dovi"
strip_include_path_components = 1
subdirectory = false
[package.metadata.docs.rs]
all-features = true
[dependencies.anyhow]
version = "1.0.45"

[dependencies.bitvec]
version = "0.22.3"

[dependencies.bitvec_helpers]
version = "1.0.0"

[dependencies.crc]
version = "2.0.0"

[dependencies.libc]
version = "0.2"
optional = true

[dependencies.roxmltree]
version = "0.14.1"
optional = true

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

[dependencies.serde_json]
version = "1.0.64"
features = ["preserve_order"]
optional = true

[features]
capi = ["libc"]
serde_feature = ["serde", "serde_json"]
xml = ["roxmltree"]
