-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
44 lines (38 loc) · 1.34 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
[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 = []
backend = []
vaapi = ["libva", "anyhow", "byteorder", "thiserror", "crc32fast", "nix", "backend"]
v4l2 = ["v4l2r", "anyhow", "byteorder", "thiserror", "crc32fast", "nix", "backend"]
[dependencies]
anyhow = { version = "1.0.75", optional = true }
byteorder = { version = "1.4.3", optional = true }
libva = { version = "0.0.12", package = "cros-libva", optional = true }
v4l2r = { version = "0.0.5", package = "v4l2r", optional = true }
log = { version = "0", features = ["release_max_level_debug"] }
thiserror = { version = "1.0.58", optional = true }
crc32fast = { version = "1.3.2", optional = true }
nix = { version = "0.28", features = ["fs", "event"], optional = true }
[dev-dependencies]
argh = "0.1.12"
env_logger = "0.9.3"
matroska-demuxer = "0.5.0"
drm = "0.12.0"
gbm = { version = "0.15", default-features = false, features = ["drm-support"] }
serde_json = "1.0.96"
[lints.rust]
# Required to allow #[cfg(fuzzing)]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
[[example]]
name = "ccdec"
required-features = ["backend"]
[[example]]
name = "ccenc"
required-features = ["backend"]