Cargo.toml 953 Bytes
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"]
Thomas Daede's avatar
Thomas Daede committed
7

Luca Barbato's avatar
Luca Barbato committed
8
9
[features]
repl = ["rustyline"]
Luca Barbato's avatar
Luca Barbato committed
10
decode_test = ["bindgen"]
Luca Barbato's avatar
Luca Barbato committed
11

Thomas Daede's avatar
Thomas Daede committed
12
[dependencies]
13
14
15
bitstream-io = "0.6"
clap = "2"
libc = "0.2"
Thomas Daede's avatar
Thomas Daede committed
16
rand = "0.5"
Luca Barbato's avatar
Luca Barbato committed
17
rustyline = { version = "1", optional = true }
Monty's avatar
Monty committed
18
y4m = "0.2"
19
enum-iterator-derive = "0.1.1"
20
backtrace = "0.3"
Thomas Daede's avatar
Thomas Daede committed
21
22

[build-dependencies]
23
cc = "1"
24
25
cmake = "0.1.29"
pkg-config = "0.3.9"
Luca Barbato's avatar
Luca Barbato committed
26
bindgen = { version = "0.33", optional = true }
27
28
29
30

[dev-dependencies]
bencher = "0.1.5"

Luca Barbato's avatar
Luca Barbato committed
31
32
33
34
35
36
37
[[bin]]
name = "rav1e"

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

38
[[bench]]
Luca Barbato's avatar
Luca Barbato committed
39
name = "bench"
40
harness = false
Yushin Cho's avatar
Yushin Cho committed
41
42
43
44
45
46
47
48

[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