Skip to content

Commit

Permalink
Add necessary files to the rav1e crate
Browse files Browse the repository at this point in the history
Include LICENSE, PATENTS, README.md and cbindgen.toml in the crate.
Also, reformat long lines in the Cargo.toml file.
  • Loading branch information
barrbrain committed Dec 6, 2019
1 parent 0f3eba6 commit 68f62e6
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"]
Expand Down Expand Up @@ -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 }

Expand Down

0 comments on commit 68f62e6

Please sign in to comment.