<commit_before>[package]
name = "rav1e"
version = "0.3.0"
authors = ["<NAME> <<EMAIL>>"]
edition = "2018"
build = "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"
repository = "https://github.com/xiph/rav1e/"
autobenches = false
autobins = false

[features]
unstable = []
decode_test = ["aom-sys"]
decode_test_dav1d = ["dav1d-sys"]
binaries = [
    "ivf",
    "y4m",
    "clap",
    "scan_fmt",
    "fern",
    "console",
    "av-metrics",
]
default = ["binaries", "asm", "signal_support"]
asm = ["nasm-rs", "cc", "regex"]
signal_support = ["signal-hook"]
dump_ivf = ["ivf"]
quick_test = []
desync_finder = ["backtrace"]
bench = []
check_asm = []
capi = []
tracing = ["rust_hawktracer"]
serialize = ["serde", "toml", "v_frame/serialize", "arrayvec/serde"]

# Enables debug dumping of lookahead computation results, specifically:
# - i-qres.png: quarter-resolution luma planes,
# - i-hres.png: half-resolution luma planes,
# - i-mvs.bin: motion vectors,
# - i-imps.bin: block importances.
dump_lookahead_data = ["byteorder", "image"]

[dependencies]
arg_enum_proc_macro = "0.3"
bitstream-io = "0.8"
cfg-if = "0.1"
clap = { version = "2", optional = true, default-features = false }
libc = "0.2"
y4m = { version = "0.6", optional = true }
backtrace = { version = "0.3", optional = true }
num-traits = "0.2"
num-derive = "0.3"
paste = "0.1"
noop_proc_macro = "0.2.0"
serde = { version = "1.0", features = ["derive"], optional = true }
dav1d-sys = { version = "0.3.1", optional = true }
aom-sys = { version = "0.1.4", optional = true }
scan_fmt = { version = "0.2.3", optional = true, default-features = false }
ivf = { version = "0.1", path = "ivf/", optional = true }
v_frame = { version = "0.1", path = "v_frame/" }
av-metrics = { version = "0.5", optional = true }
rayon = "1.0"
toml = { version = "0.5", optional = true }
arrayvec = { version = "0.5", features = ["array-sizes-33-128"] }
thiserror = "1.0"
byteorder = { version = "1.3.2", optional = true }
log = "0.4"
console = { version = "0.11", optional = true }
fern = { version = "0.6", optional = true }
itertools = "0.9"
simd_helpers = "0.1"

[dependencies.image]
version = "0.23"
optional = true
default-features = false
features = ["png"]

[dependencies.rust_hawktracer]
version = "0.7.0"
features = ["profiling_enabled"]
optional = true

[build-dependencies]
cc = { version = "1.0", optional = true, features = ["parallel"] }
# Vendored to remove the dependency on `failure`,
# which takes a long time to build.
vergen = { version = "3", path = "crates/vergen" }
rustc_version = "0.2"
regex = { version = "1", optional = true }

[build-dependencies.nasm-rs]
version = "=0.1.7"
optional = true
features = ["parallel"]

[target.'cfg(unix)'.dependencies]
signal-hook = { version = "0.1.9", optional = true }

[dev-dependencies]
assert_cmd = "1.0"
criterion = "0.3"
pretty_assertions = "0.6"
interpolate_name = "0.2.2"
rand = "0.7"
rand_chacha = "0.2"
semver = "0.9"

[target.'cfg(fuzzing)'.dependencies]
arbitrary = "0.2"
interpolate_name = "0.2.2"
rand = "0.7"
rand_chacha = "0.2"

[[bin]]
name = "rav1e"
required-features = ["binaries"]
bench = false

[lib]
bench = false

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[profile.dev]
opt-level = 1

[profile.release]
debug = true
incremental = true

[profile.bench]
incremental = true

[workspace]
members = [".", "ivf", "rav1e_js", "v_frame"]

[package.metadata.docs.rs]
no-default-features = true

[patch.crates-io]
v_frame = { path = "v_frame" }
<commit_msg>Bump AV-Metrics to 0.5.1<commit_after>[package]
name = "rav1e"
version = "0.3.0"
authors = ["<NAME> <<EMAIL>>"]
edition = "2018"
build = "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"
repository = "https://github.com/xiph/rav1e/"
autobenches = false
autobins = false

[features]
unstable = []
decode_test = ["aom-sys"]
decode_test_dav1d = ["dav1d-sys"]
binaries = [
    "ivf",
    "y4m",
    "clap",
    "scan_fmt",
    "fern",
    "console",
    "av-metrics",
]
default = ["binaries", "asm", "signal_support"]
asm = ["nasm-rs", "cc", "regex"]
signal_support = ["signal-hook"]
dump_ivf = ["ivf"]
quick_test = []
desync_finder = ["backtrace"]
bench = []
check_asm = []
capi = []
tracing = ["rust_hawktracer"]
serialize = ["serde", "toml", "v_frame/serialize", "arrayvec/serde"]

# Enables debug dumping of lookahead computation results, specifically:
# - i-qres.png: quarter-resolution luma planes,
# - i-hres.png: half-resolution luma planes,
# - i-mvs.bin: motion vectors,
# - i-imps.bin: block importances.
dump_lookahead_data = ["byteorder", "image"]

[dependencies]
arg_enum_proc_macro = "0.3"
bitstream-io = "0.8"
cfg-if = "0.1"
clap = { version = "2", optional = true, default-features = false }
libc = "0.2"
y4m = { version = "0.6", optional = true }
backtrace = { version = "0.3", optional = true }
num-traits = "0.2"
num-derive = "0.3"
paste = "0.1"
noop_proc_macro = "0.2.0"
serde = { version = "1.0", features = ["derive"], optional = true }
dav1d-sys = { version = "0.3.1", optional = true }
aom-sys = { version = "0.1.4", optional = true }
scan_fmt = { version = "0.2.3", optional = true, default-features = false }
ivf = { version = "0.1", path = "ivf/", optional = true }
v_frame = { version = "0.1", path = "v_frame/" }
av-metrics = { version = "0.5.1", optional = true }
rayon = "1.0"
toml = { version = "0.5", optional = true }
arrayvec = { version = "0.5", features = ["array-sizes-33-128"] }
thiserror = "1.0"
byteorder = { version = "1.3.2", optional = true }
log = "0.4"
console = { version = "0.11", optional = true }
fern = { version = "0.6", optional = true }
itertools = "0.9"
simd_helpers = "0.1"

[dependencies.image]
version = "0.23"
optional = true
default-features = false
features = ["png"]

[dependencies.rust_hawktracer]
version = "0.7.0"
features = ["profiling_enabled"]
optional = true

[build-dependencies]
cc = { version = "1.0", optional = true, features = ["parallel"] }
# Vendored to remove the dependency on `failure`,
# which takes a long time to build.
vergen = { version = "3", path = "crates/vergen" }
rustc_version = "0.2"
regex = { version = "1", optional = true }

[build-dependencies.nasm-rs]
version = "=0.1.7"
optional = true
features = ["parallel"]

[target.'cfg(unix)'.dependencies]
signal-hook = { version = "0.1.9", optional = true }

[dev-dependencies]
assert_cmd = "1.0"
criterion = "0.3"
pretty_assertions = "0.6"
interpolate_name = "0.2.2"
rand = "0.7"
rand_chacha = "0.2"
semver = "0.9"

[target.'cfg(fuzzing)'.dependencies]
arbitrary = "0.2"
interpolate_name = "0.2.2"
rand = "0.7"
rand_chacha = "0.2"

[[bin]]
name = "rav1e"
required-features = ["binaries"]
bench = false

[lib]
bench = false

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[profile.dev]
opt-level = 1

[profile.release]
debug = true
incremental = true

[profile.bench]
incremental = true

[workspace]
members = [".", "ivf", "rav1e_js", "v_frame"]

[package.metadata.docs.rs]
no-default-features = true

[patch.crates-io]
v_frame = { path = "v_frame" }

{'fraction_non_alphanumeric': 0.1951021512650521, 'fraction_numerical': 0.03490731971316466, 'mean_word_length': 3.8503937007874014, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '161347', 'n_tokens_mistral': 2966, 'n_tokens_neox': 2884, 'n_words': 679}