-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add necessary files to the rav1e crate
Include LICENSE, PATENTS, README.md and cbindgen.toml in the crate. Also, reformat long lines in the Cargo.toml file.
- Loading branch information
Showing
1 changed file
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,15 @@ version = "0.1.0" | |
authors = ["Thomas Daede <[email protected]>"] | ||
edition = "2018" | ||
build = "build.rs" | ||
include = ["/src/**", "/Cargo.toml", "/build.rs"] | ||
include = [ | ||
"/Cargo.toml", | ||
"/LICENSE", | ||
"/PATENTS", | ||
"/README.md", | ||
"/build.rs", | ||
"/cbindgen.toml", | ||
"/src/**", | ||
] | ||
license = "BSD-2-Clause" | ||
description = "The fastest and safest AV1 encoder" | ||
readme = "README.md" | ||
|
@@ -15,7 +23,14 @@ autobins = false | |
[features] | ||
decode_test = ["aom-sys"] | ||
decode_test_dav1d = ["dav1d-sys"] | ||
binaries = ["ivf", "y4m", "clap", "scan_fmt", "pretty_env_logger", "better-panic"] | ||
binaries = [ | ||
"ivf", | ||
"y4m", | ||
"clap", | ||
"scan_fmt", | ||
"pretty_env_logger", | ||
"better-panic", | ||
] | ||
default = ["binaries", "asm", "signal_support"] | ||
asm = ["nasm-rs", "cc"] | ||
signal_support = ["signal-hook"] | ||
|
@@ -55,25 +70,36 @@ bincode = { version = "1.1", optional = true } | |
arrayvec = "0.5" | ||
better-panic = { version = "0.2", optional = true } | ||
err-derive = "0.2.1" | ||
image = { version = "0.22.1", optional = true, default-features = false, features = ["png"] } | ||
byteorder = { version = "1.3.2", optional = true } | ||
log = "0.4" | ||
pretty_env_logger = { version = "0.3", optional = true } | ||
itertools = "0.8" | ||
simd_helpers = "0.1" | ||
|
||
[dependencies.image] | ||
version = "0.22.1" | ||
optional = true | ||
default-features = false | ||
features = ["png"] | ||
|
||
[dependencies.rust_hawktracer] | ||
version = "0.5.0" | ||
features = ["profiling_enabled"] | ||
optional = true | ||
|
||
[build-dependencies] | ||
nasm-rs = { version = "0.1", path = "crates/nasm_rs/", optional = true, features = ["parallel"] } | ||
cc = { version = "1.0", optional = true, features = ["parallel"] } | ||
# Vendored to remove the dependency on `failure`, which takes a long time to build. | ||
# Vendored to remove the dependency on `failure`, | ||
# which takes a long time to build. | ||
vergen = { version = "3", path = "crates/vergen" } | ||
rustc_version = "0.2" | ||
|
||
[build-dependencies.nasm-rs] | ||
version = "0.1" | ||
path = "crates/nasm_rs/" | ||
optional = true | ||
features = ["parallel"] | ||
|
||
[target.'cfg(unix)'.dependencies] | ||
signal-hook = { version = "0.1.9", optional = true } | ||
|
||
|