crosvm/media/cros-codecs/Cargo.toml
Alexandre Courbot fd699f1277 media: cros-codecs: remove dependency on downcast_rs
We only use this for testing, and this can be replaced at low cost by a
method returning a &dyn Any and having the tests perform the cast on it.
Since downcast_rs gets in the way of some of the refactoring we want to
do, let's remove it.

BUG=b:214478588
TEST=cargo test --features vaapi -p cros-codecs

Change-Id: I343e0a8e0f219f6bcf3cbc5efac82a1ed999a9a0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4123651
Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-01-10 03:20:10 +00:00

18 lines
380 B
TOML

[package]
name = "cros-codecs"
version = "0.1.0"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
vaapi = ["libva"]
[dependencies]
anyhow = { version = "*" }
bitreader = "0.3.6"
bytes = "1.1.0"
enumn = "0.1.4"
log = { version = "0", features = ["release_max_level_debug"] }
thiserror = "1.0.31"
libva = { path = "../libva", optional = true }
crc32fast = "1.3.2"