# 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 = "cros-codecs" version = "0.0.5" authors = ["The ChromiumOS Authors"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Hardware-accelerated codecs for Linux" readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/chromeos/cros-codecs" [lib] name = "cros_codecs" path = "src/lib.rs" [[example]] name = "ccdec" path = "examples/ccdec.rs" required-features = ["vaapi"] [[example]] name = "ccenc" path = "examples/ccenc.rs" required-features = ["vaapi"] [dependencies.anyhow] version = "1" [dependencies.bitreader] version = "0.3.6" [dependencies.byteorder] version = "1.4.3" [dependencies.bytes] version = "1.1.0" [dependencies.crc32fast] version = "1.3.2" [dependencies.enumn] version = "0.1.4" [dependencies.libva] version = "0.0.7" optional = true package = "cros-libva" [dependencies.log] version = "0" features = ["release_max_level_debug"] [dependencies.nix] version = "0.29" features = [ "fs", "event", ] [dependencies.thiserror] version = "1.0.31" [dependencies.v4l2r] version = "0.0.3" optional = true package = "v4l2r" [dev-dependencies.argh] version = "0.1" [dev-dependencies.drm] version = "0.11.0" [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.gbm] version = "0.14" features = ["drm-support"] default-features = false [dev-dependencies.matroska-demuxer] version = "0.5.0" [dev-dependencies.md5] version = "0.7" [features] default = ["vaapi"] v4l2 = ["v4l2r"] vaapi = ["libva"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(fuzzing)"]