Cargo.toml 1.13 KB
Newer Older
Thomas Daede's avatar
Thomas Daede committed
1
2
3
4
5
[package]
name = "rav1e"
version = "0.1.0"
authors = ["Thomas Daede <tdaede@xiph.org>"]
build = "build.rs"
6
include = ["/src/**", "/aom_build/**", "/Cargo.toml"]
7
autobenches = false
8
autobins = false
Thomas Daede's avatar
Thomas Daede committed
9

Luca Barbato's avatar
Luca Barbato committed
10
[features]
Luca Barbato's avatar
Luca Barbato committed
11
repl = ["rustyline", "binaries"]
rzumer's avatar
rzumer committed
12
comparative_bench = []
13
decode_test = ["bindgen"]
14
binaries = ["y4m", "clap"]
Luca Barbato's avatar
Luca Barbato committed
15
default = ["binaries"]
Luca Barbato's avatar
Luca Barbato committed
16

Thomas Daede's avatar
Thomas Daede committed
17
[dependencies]
18
bitstream-io = "0.6"
19
clap = { version = "2", optional = true }
20
libc = "0.2"
Thomas Daede's avatar
Thomas Daede committed
21
rand = "0.5"
Luca Barbato's avatar
Luca Barbato committed
22
rustyline = { version = "1", optional = true }
Luca Barbato's avatar
Luca Barbato committed
23
y4m = { version = "0.3", optional = true }
24
backtrace = "0.3"
Luca Barbato's avatar
Luca Barbato committed
25
num-traits = "0.2"
Thomas Daede's avatar
Thomas Daede committed
26
27

[build-dependencies]
28
29
30
cmake = "0.1.32"

[target.'cfg(unix)'.build-dependencies]
31
pkg-config = "0.3.12"
32
bindgen = { version = "0.37", optional = true }
33
34

[dev-dependencies]
35
criterion = "0.2"
36

Luca Barbato's avatar
Luca Barbato committed
37
38
39
40
41
42
43
[[bin]]
name = "rav1e"

[[bin]]
name = "rav1repl"
required-features = ["repl"]

44
[[bench]]
Luca Barbato's avatar
Luca Barbato committed
45
name = "bench"
46
harness = false
Yushin Cho's avatar
Yushin Cho committed
47
48
49
50
51
52
53
54

[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