| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.74.1" |
| 15 |
name = "av-scenechange" |
| 16 |
version = "0.14.1" |
| 17 |
authors = ["Josh Holmer <[email protected]>"] |
| 18 |
build = "build.rs" |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Estimates frames in a video where a scenecut would be ideal" |
| 25 |
readme = "README.md" |
| 26 |
license = "MIT" |
| 27 |
repository = "https://github.com/rust-av/av-scenechange" |
| 28 |
|
| 29 |
[features] |
| 30 |
asm = [ |
| 31 |
"nasm-rs", |
| 32 |
"cc", |
| 33 |
"libc", |
| 34 |
] |
| 35 |
binary = [ |
| 36 |
"clap", |
| 37 |
"serialize", |
| 38 |
] |
| 39 |
default = [ |
| 40 |
"binary", |
| 41 |
"asm", |
| 42 |
] |
| 43 |
devel = [ |
| 44 |
"console", |
| 45 |
"fern", |
| 46 |
] |
| 47 |
ffmpeg = ["ffmpeg-the-third"] |
| 48 |
libc = ["dep:libc"] |
| 49 |
serialize = [ |
| 50 |
"serde", |
| 51 |
"serde_json", |
| 52 |
] |
| 53 |
tracing = [ |
| 54 |
"tracing-subscriber", |
| 55 |
"tracing-chrome", |
| 56 |
"dep:tracing", |
| 57 |
] |
| 58 |
|
| 59 |
[lib] |
| 60 |
name = "av_scenechange" |
| 61 |
path = "src/lib.rs" |
| 62 |
|
| 63 |
[[bin]] |
| 64 |
name = "av-scenechange" |
| 65 |
path = "src/main.rs" |
| 66 |
required-features = ["binary"] |
| 67 |
|
| 68 |
[dependencies.aligned] |
| 69 |
version = "0.4.2" |
| 70 |
|
| 71 |
[dependencies.anyhow] |
| 72 |
version = "1.0.56" |
| 73 |
|
| 74 |
[dependencies.arg_enum_proc_macro] |
| 75 |
version = "0.3.4" |
| 76 |
|
| 77 |
[dependencies.arrayvec] |
| 78 |
version = "0.7.6" |
| 79 |
|
| 80 |
[dependencies.clap] |
| 81 |
version = "4.0.22" |
| 82 |
features = ["derive"] |
| 83 |
optional = true |
| 84 |
|
| 85 |
[dependencies.console] |
| 86 |
version = "0.15" |
| 87 |
optional = true |
| 88 |
|
| 89 |
[dependencies.fern] |
| 90 |
version = "0.7" |
| 91 |
optional = true |
| 92 |
|
| 93 |
[dependencies.ffmpeg-the-third] |
| 94 |
version = "3.0.0" |
| 95 |
features = [ |
| 96 |
"codec", |
| 97 |
"format", |
| 98 |
] |
| 99 |
optional = true |
| 100 |
default-features = false |
| 101 |
|
| 102 |
[dependencies.libc] |
| 103 |
version = "0.2.172" |
| 104 |
optional = true |
| 105 |
|
| 106 |
[dependencies.log] |
| 107 |
version = "0.4.14" |
| 108 |
|
| 109 |
[dependencies.num-rational] |
| 110 |
version = "0.4.2" |
| 111 |
default-features = false |
| 112 |
|
| 113 |
[dependencies.num-traits] |
| 114 |
version = "0.2.19" |
| 115 |
|
| 116 |
[dependencies.pastey] |
| 117 |
version = "0.1.0" |
| 118 |
|
| 119 |
[dependencies.rayon] |
| 120 |
version = "1.10.0" |
| 121 |
|
| 122 |
[dependencies.serde] |
| 123 |
version = "1.0.123" |
| 124 |
features = ["derive"] |
| 125 |
optional = true |
| 126 |
|
| 127 |
[dependencies.serde_json] |
| 128 |
version = "1.0.62" |
| 129 |
optional = true |
| 130 |
|
| 131 |
[dependencies.thiserror] |
| 132 |
version = "2.0.12" |
| 133 |
|
| 134 |
[dependencies.tracing] |
| 135 |
version = "0.1.40" |
| 136 |
optional = true |
| 137 |
|
| 138 |
[dependencies.tracing-chrome] |
| 139 |
version = "0.7.1" |
| 140 |
optional = true |
| 141 |
|
| 142 |
[dependencies.tracing-subscriber] |
| 143 |
version = "0.3.18" |
| 144 |
optional = true |
| 145 |
|
| 146 |
[dependencies.v_frame] |
| 147 |
version = "0.3.8" |
| 148 |
|
| 149 |
[dependencies.vapoursynth] |
| 150 |
version = "0.4.0" |
| 151 |
features = [ |
| 152 |
"vsscript-functions", |
| 153 |
"vapoursynth-functions", |
| 154 |
"vapoursynth-api-32", |
| 155 |
"vsscript-api-31", |
| 156 |
] |
| 157 |
optional = true |
| 158 |
|
| 159 |
[dependencies.y4m] |
| 160 |
version = "0.8.0" |
| 161 |
|
| 162 |
[build-dependencies.cc] |
| 163 |
version = "1.2.23" |
| 164 |
features = ["parallel"] |
| 165 |
optional = true |
| 166 |
|
| 167 |
[build-dependencies.nasm-rs] |
| 168 |
version = "0.3" |
| 169 |
features = ["parallel"] |
| 170 |
optional = true |
| 171 |
|
| 172 |
[lints.clippy] |
| 173 |
inline_always = "warn" |
| 174 |
missing_inline_in_public_items = "warn" |
| 175 |
|
| 176 |
[lints.rust.unexpected_cfgs] |
| 177 |
level = "warn" |
| 178 |
priority = 0 |
| 179 |
check-cfg = [ |
| 180 |
"cfg(asm_x86_64)", |
| 181 |
"cfg(asm_neon)", |
| 182 |
] |