Debian Codegraph @

.cargo/vendor/v_frame/Cargo.toml.orig

raw
1 [package]
2 name = "v_frame"
3 version = "0.3.9"
4 rust-version = "1.80.0"
5 description = "Video Frame data structures, originally part of rav1e"
6 license = "BSD-2-Clause"
7 authors = ["Luca Barbato <[email protected]>"]
8 edition = "2021"
9 repository = "https://github.com/rust-av/v_frame"
10
11 [features]
12 serialize = ["serde", "aligned-vec/serde"]
13 profiling = ["dep:profiling"]
14 tracing = ["profiling", "dep:tracing", "profiling/profile-with-tracing"]
15
16 [dependencies]
17 num-traits = "0.2"
18 serde = { version = "1.0", features = ["derive"], optional = true }
19 aligned-vec = ">=0.5.0, <0.7"
20
21 # Profiling dependencies
22 profiling = { version = "1", optional = true }
23 tracing = { version = "0.1.40", optional = true }
24
25 [[bench]]
26 name = "bench"
27 harness = false
28
29 #
30 # WebAssembly/wasm32 target support below
31 #
32 # There are two main WASM targets:
33 # - wasm32-unknown-unknown: Base WebAssembly standard, used in browsers
34 # - wasm32-wasi: Newer extension/standard, comes with basic std library,
35 # not supported in browsers (yet)
36 #
37 # Some things work in all WASM configurations, some work only on one of these two,
38 # some things don't work on wasm32 at all.
39 #
40 # wasm32-unknown-unknown requires wasm_bindgen and wasm_bindgen_test to work,
41 # but these can cause problems on wasm32-wasi. So we use either
42 # - target_arch = "wasm32" for things that (don't) work on all WebAssembly targets or
43 # - explicit targetting for wasm32-unknown-unknown or wasm32-wasi.
44 # In Cargo.toml, this is done via [target.<target-triple>.dependencies]
45 # In code, this is done via cfg(all(target_arch = "wasm32", target_os = "wasi"/"unknown"))
46
47 # The rayon feature does not work on any wasm32 target
48 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
49 criterion = "0.6"
50
51 [target.'cfg(target_arch = "wasm32")'.dev-dependencies]
52 criterion = { version = "0.6", default-features = false }
53
54 # wasm-bindgen is only needed for wasm32-unknown-unknown and not other wasm32 targets
55 [target.wasm32-unknown-unknown.dependencies]
56 wasm-bindgen = "0.2"
57
58 [target.wasm32-unknown-unknown.dev-dependencies]
59 wasm-bindgen-test = "0.3"