forked from chromeos/cros-codecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (40 loc) · 1.1 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "cros-codecs"
version = "0.0.5"
license = "BSD-3-Clause"
description = "Hardware-accelerated codecs for Linux"
repository = "https://github.com/chromeos/cros-codecs"
authors = ["The ChromiumOS Authors"]
edition = "2021"
[features]
default = ["vaapi"]
vaapi = ["libva"]
v4l2 = ["v4l2r"]
[dependencies]
anyhow = "1"
bitreader = "0.3.6"
byteorder = "1.4.3"
bytes = "1.1.0"
enumn = "0.1.4"
libva = { version = "0.0.7", package = "cros-libva", optional = true }
v4l2r = { version = "0.0.3", package = "v4l2r", optional = true }
log = { version = "0", features = ["release_max_level_debug"] }
thiserror = "1.0.31"
crc32fast = "1.3.2"
nix = { version = "0.29", features = ["fs", "event"] }
[dev-dependencies]
argh = "0.1"
env_logger = "0.10.0"
matroska-demuxer = "0.5.0"
md5 = "0.7"
drm = "0.11.0"
gbm = { version = "0.14", default-features = false, features = ["drm-support"] }
[lints.rust]
# Required to allow #[cfg(fuzzing)]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
[[example]]
name = "ccdec"
required-features = ["vaapi"]
[[example]]
name = "ccenc"
required-features = ["vaapi"]