forked from xiph/rav1e
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (50 loc) · 1.29 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "rav1e"
version = "0.1.0"
authors = ["Thomas Daede <[email protected]>"]
build = "build.rs"
include = ["/src/**", "/aom_build/**", "/Cargo.toml"]
autobenches = false
autobins = false
[features]
repl = ["rustyline", "binaries"]
comparative_bench = []
decode_test = ["bindgen"]
binaries = ["y4m", "clap"]
default = ["binaries"]
[dependencies]
bitstream-io = "0.8"
clap = { version = "2", optional = true }
libc = "0.2"
rand = "0.5"
rustyline = { version = "1", optional = true }
y4m = { version = "0.3", optional = true }
backtrace = "0.3"
num-traits = "0.2"
[build-dependencies]
cmake = "0.1.32"
[target.'cfg(target_arch = "x86_64")'.build-dependencies]
nasm-rs = { git = "https://github.com/tdaede/nasm-rs.git" }
[target.'cfg(unix)'.build-dependencies]
pkg-config = "0.3.12"
bindgen = { version = "0.37", optional = true }
[dev-dependencies]
criterion = "0.2"
[[bin]]
name = "rav1e"
bench = false
[[bin]]
name = "rav1repl"
required-features = ["repl"]
bench = false
[lib]
bench = false
[[bench]]
name = "bench"
harness = false
[profile.release]
codegen-units = 1 # if > 1 enables parallel code generation which improves
# compile times, but prevents some optimizations.
# Passes `-C codegen-units`. Ignored when `lto = true`.
[profile.bench]
codegen-units = 1