Debian Codegraph @

.cargo/vendor/rav1e/Cargo.toml.orig

raw
1 [package]
2 name = "rav1e"
3 version = "0.8.1"
4 authors = ["Thomas Daede <[email protected]>"]
5 edition = "2021"
6 rust-version = "1.83.0"
7 build = "build.rs"
8 include = [
9 "/Cargo.toml",
10 "/LICENSE",
11 "/PATENTS",
12 "/README.md",
13 "/build.rs",
14 "/cbindgen.toml",
15 "/src/**",
16 ]
17 license = "BSD-2-Clause"
18 description = "The fastest and safest AV1 encoder"
19 readme = "README.md"
20 repository = "https://github.com/xiph/rav1e/"
21 autobenches = false
22 autobins = false
23 default-run = "rav1e"
24
25 [features]
26 unstable = []
27 channel-api = ["crossbeam"]
28 decode_test = ["aom-sys"]
29 decode_test_dav1d = ["dav1d-sys"]
30 binaries = [
31 "ivf",
32 "y4m",
33 "clap",
34 "clap_complete",
35 "scan_fmt",
36 "fern",
37 "console",
38 "av-metrics",
39 "nom",
40 ]
41 default = ["binaries", "asm", "threading", "signal_support", "git_version"]
42 git_version = ["built/git2"]
43 asm = ["nasm-rs", "cc"]
44 threading = ["rayon/threads"]
45 signal_support = ["signal-hook"]
46 dump_ivf = ["ivf"]
47 quick_test = []
48 desync_finder = ["backtrace"]
49 bench = []
50 check_asm = []
51 capi = ["scan_fmt"]
52 tracing = [
53 "profiling/profile-with-tracing",
54 "tracing-subscriber",
55 "tracing-chrome",
56 "dep:tracing",
57 ]
58 serialize = [
59 "serde",
60 "toml",
61 "v_frame/serialize",
62 "serde-big-array",
63 "av1-grain/serialize",
64 ]
65 wasm = ["wasm-bindgen"]
66
67 # Enables debug dumping of lookahead computation results, specifically:
68 # - i-qres.png: quarter-resolution luma planes,
69 # - i-hres.png: half-resolution luma planes,
70 # - i-mvs.bin: motion vectors,
71 # - i-imps.bin: block importances,
72 # - i-activity_scales.bin: spatial scales,
73 # - i-distortion_scales.bin: temporal scales,
74 # - i-spatiotemporal_scales.bin,
75 # - i-thresholds.bin: segmentation thresholds.
76 dump_lookahead_data = ["byteorder", "image"]
77
78 [dependencies]
79 arg_enum_proc_macro = "0.3.4"
80 av-scenechange = { version = "0.14.1", default-features = false }
81 bitstream-io = "4.1.0"
82 cfg-if = "1.0"
83 clap = { version = "4.5", optional = true, default-features = false, features = [
84 "color",
85 "std",
86 "wrap_help",
87 "derive",
88 ] }
89 clap_complete = { version = "4.5", optional = true }
90 libc = "0.2"
91 y4m = { version = "0.8", optional = true }
92 backtrace = { version = "0.3", optional = true }
93 num-traits = "0.2"
94 num-derive = "0.4"
95 paste = "1.0"
96 noop_proc_macro = "0.3.0"
97 serde = { version = "1.0", features = ["derive"], optional = true }
98 dav1d-sys = { version = "0.7.0", package = "libdav1d-sys", optional = true }
99 aom-sys = { version = "0.3.3", optional = true }
100 scan_fmt = { version = "0.2.6", optional = true, default-features = false }
101 ivf = { version = "0.1", path = "ivf/", optional = true }
102 v_frame = "0.3.7"
103 av-metrics = { version = "0.9.1", optional = true, default-features = false }
104 rayon = { package = "maybe-rayon", version = "0.1", default-features = false }
105 crossbeam = { version = "0.8", optional = true }
106 toml = { version = "0.8", optional = true }
107 arrayvec = "0.7"
108 thiserror = "2.0"
109 byteorder = { version = "1.5.0", optional = true }
110 log = "0.4"
111 console = { version = "0.15", optional = true }
112 fern = { version = "0.7", optional = true }
113 itertools = "0.14"
114 simd_helpers = "0.1"
115 wasm-bindgen = { version = "0.2.90", optional = true }
116 nom = { version = "8.0.0", optional = true }
117 new_debug_unreachable = "1.0.4"
118 av1-grain = "0.2.3"
119 serde-big-array = { version = "0.5.1", optional = true }
120 profiling = { version = "1" }
121 tracing-subscriber = { version = "0.3.18", optional = true }
122 tracing-chrome = { version = "0.7.1", optional = true }
123 tracing = { version = "0.1.40", optional = true }
124 aligned-vec = "0.6.0"
125
126 [dependencies.image]
127 version = "0.25.0"
128 optional = true
129 default-features = false
130 features = ["png"]
131
132 [build-dependencies]
133 cc = { version = "1.0", optional = true, features = ["parallel"] }
134 built = { version = "0.8.0", features = [] }
135
136 [build-dependencies.nasm-rs]
137 version = "0.3"
138 optional = true
139 features = ["parallel"]
140
141 [target.'cfg(unix)'.dependencies]
142 signal-hook = { version = "0.3", optional = true }
143
144 [dev-dependencies]
145 pretty_assertions = "1.4.0"
146 interpolate_name = "0.2.4"
147 nom = "8.0.0"
148 quickcheck = "1.0"
149 rand = "0.9"
150 rand_chacha = "0.9"
151 semver = "1.0"
152
153 # Exclude dependencies and features that don't work on wasm32:
154 [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
155 criterion = { version = "0.6", default-features = false }
156
157 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
158 assert_cmd = "2.0"
159 criterion = "0.6"
160
161 [target.'cfg(fuzzing)'.dependencies]
162 arbitrary = "1.3"
163 interpolate_name = "0.2.4"
164 libfuzzer-sys = "0.4.7"
165 rand = "0.9"
166 rand_chacha = "0.9"
167
168 [lints.rust.unexpected_cfgs]
169 level = "warn"
170 # These custom cfgs are expected, so tell rustc not to output warnings for them
171 check-cfg = [
172 'cfg(nasm_x86_64)',
173 'cfg(asm_neon)',
174 'cfg(cargo_c)',
175 'cfg(fuzzing)',
176 ]
177
178 [[bin]]
179 name = "rav1e"
180 required-features = ["binaries"]
181 bench = false
182
183 [[bin]]
184 name = "rav1e-ch"
185 required-features = ["binaries", "channel-api", "unstable"]
186 bench = false
187
188 [lib]
189 bench = false
190
191 [[bench]]
192 name = "bench"
193 path = "benches/bench.rs"
194 required-features = ["bench"]
195 harness = false
196
197 [profile.dev]
198 opt-level = 1
199
200 [profile.release]
201 debug = true
202 incremental = true
203 lto = "thin"
204
205 [profile.release-no-lto]
206 inherits = "release"
207 lto = "off"
208
209 [profile.release-strip]
210 inherits = "release"
211 strip = "symbols"
212
213 [profile.bench]
214 incremental = true
215
216 [workspace]
217 members = [".", "ivf"]
218
219 [package.metadata.docs.rs]
220 no-default-features = true
221
222 [lints.clippy]
223 doc_link_with_quotes = "warn"
224 doc_markdown = "warn"
225 missing_errors_doc = "warn"
226 missing_panics_doc = "warn"
227 missing_safety_doc = "warn"
228 comparison_chain = "allow"
229 enum_variant_names = "allow"
230 needless_range_loop = "allow"
231 too_many_arguments = "allow"
232 upper_case_acronyms = "allow"