| 1 |
[package] |
| 2 |
name = "av-scenechange" |
| 3 |
version = "0.14.1" |
| 4 |
authors = ["Josh Holmer <[email protected]>"] |
| 5 |
edition = "2021" |
| 6 |
rust-version = "1.74.1" |
| 7 |
description = "Estimates frames in a video where a scenecut would be ideal" |
| 8 |
license = "MIT" |
| 9 |
repository = "https://github.com/rust-av/av-scenechange" |
| 10 |
build = "build.rs" |
| 11 |
|
| 12 |
[dependencies] |
| 13 |
aligned = "0.4.2" |
| 14 |
anyhow = "1.0.56" |
| 15 |
arg_enum_proc_macro = "0.3.4" |
| 16 |
arrayvec = "0.7.6" |
| 17 |
clap = { version = "4.0.22", optional = true, features = ["derive"] } |
| 18 |
console = { version = "0.15", optional = true } |
| 19 |
fern = { version = "0.7", optional = true } |
| 20 |
ffmpeg-the-third = { version = "3.0.0", optional = true, default-features = false, features = [ |
| 21 |
"codec", |
| 22 |
"format", |
| 23 |
] } |
| 24 |
libc = { version = "0.2.172", optional = true } |
| 25 |
log = { version = "0.4.14" } |
| 26 |
num-rational = { version = "0.4.2", default-features = false } |
| 27 |
num-traits = "0.2.19" |
| 28 |
pastey = "0.1.0" |
| 29 |
rayon = "1.10.0" |
| 30 |
serde = { version = "1.0.123", optional = true, features = ["derive"] } |
| 31 |
serde_json = { version = "1.0.62", optional = true } |
| 32 |
thiserror = "2.0.12" |
| 33 |
tracing = { version = "0.1.40", optional = true } |
| 34 |
tracing-chrome = { version = "0.7.1", optional = true } |
| 35 |
tracing-subscriber = { version = "0.3.18", optional = true } |
| 36 |
v_frame = "0.3.8" |
| 37 |
vapoursynth = { version = "0.4.0", features = [ |
| 38 |
"vsscript-functions", |
| 39 |
"vapoursynth-functions", |
| 40 |
"vapoursynth-api-32", |
| 41 |
"vsscript-api-31", |
| 42 |
], optional = true } |
| 43 |
y4m = "0.8.0" |
| 44 |
|
| 45 |
|
| 46 |
[build-dependencies] |
| 47 |
cc = { version = "1.2.23", optional = true, features = ["parallel"] } |
| 48 |
nasm-rs = { version = "0.3", optional = true, features = ["parallel"] } |
| 49 |
|
| 50 |
[features] |
| 51 |
default = ["binary", "asm"] |
| 52 |
binary = ["clap", "serialize"] |
| 53 |
serialize = ["serde", "serde_json"] |
| 54 |
devel = ["console", "fern"] |
| 55 |
tracing = ["tracing-subscriber", "tracing-chrome", "dep:tracing"] |
| 56 |
ffmpeg = ["ffmpeg-the-third"] |
| 57 |
asm = ["nasm-rs", "cc", "libc"] |
| 58 |
libc = ["dep:libc"] |
| 59 |
|
| 60 |
[[bin]] |
| 61 |
name = "av-scenechange" |
| 62 |
path = "src/main.rs" |
| 63 |
required-features = ["binary"] |
| 64 |
|
| 65 |
[lints.clippy] |
| 66 |
inline_always = "warn" |
| 67 |
missing_inline_in_public_items = "warn" |
| 68 |
|
| 69 |
[lints.rust.unexpected_cfgs] |
| 70 |
level = "warn" |
| 71 |
# These custom cfgs are expected, so tell rustc not to output warnings for them |
| 72 |
check-cfg = ['cfg(asm_x86_64)', 'cfg(asm_neon)'] |