scenesdetect 0.1.0

Scene/shot cut detection ported from PySceneDetect — Sans-I/O streaming API with SIMD-accelerated detectors for histogram, pHash, threshold, content, and adaptive algorithms.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "scenesdetect"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Scene/shot cut detection ported from PySceneDetect — Sans-I/O streaming API with SIMD-accelerated detectors for histogram, pHash, threshold, content, and adaptive algorithms."
homepage = "https://github.com/findit-ai/scenesdetect"
documentation = "https://docs.rs/scenesdetect"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/findit-ai/scenesdetect"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = ["libm"]
default = ["std"]
serde = [
    "dep:serde",
    "dep:humantime-serde",
]
std = ["thiserror/default"]

[lib]
name = "scenesdetect"
path = "src/lib.rs"

[[example]]
name = "foo"
path = "examples/foo.rs"

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

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

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

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

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

[dependencies.derive_more]
version = "2"
features = [
    "is_variant",
    "display",
]
default-features = false

[dependencies.humantime-serde]
version = "1"
optional = true
default-features = false

[dependencies.libm]
version = "0.2"
optional = true
default-features = false

[dependencies.mediatime]
version = "0.1"
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.tempfile]
version = "3"

[lints.rust]
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(all_tests)",
    "cfg(tarpaulin)",
]

[profile.bench]
opt-level = 3
lto = "thin"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
overflow-checks = false
incremental = false