# 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.93.0"
name = "ff-filter"
version = "0.14.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Video and audio filter graph operations - the Rust way"
readme = "README.md"
keywords = [
    "video",
    "audio",
    "ffmpeg",
    "filter",
    "effect",
]
categories = [
    "multimedia::video",
    "multimedia::audio",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/itsakeyfut/avio"
resolver = "2"

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

[features]
serde = ["dep:serde"]

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

[[test]]
name = "analysis_tests"
path = "tests/analysis_tests.rs"

[[test]]
name = "animation_integration_test"
path = "tests/animation_integration_test.rs"

[[test]]
name = "audio_effect_tests"
path = "tests/audio_effect_tests.rs"

[[test]]
name = "blend_reference_tests"
path = "tests/blend_reference_tests.rs"

[[test]]
name = "compositing_pipeline_tests"
path = "tests/compositing_pipeline_tests.rs"

[[test]]
name = "composition_tests"
path = "tests/composition_tests.rs"

[[test]]
name = "filter_chain_tests"
path = "tests/filter_chain_tests.rs"

[[test]]
name = "loudness_meter_tests"
path = "tests/loudness_meter_tests.rs"

[[test]]
name = "lut_tests"
path = "tests/lut_tests.rs"

[[test]]
name = "push_pull_tests"
path = "tests/push_pull_tests.rs"

[[test]]
name = "quality_metrics_tests"
path = "tests/quality_metrics_tests.rs"

[[test]]
name = "serde_tests"
path = "tests/serde_tests.rs"

[[test]]
name = "stabilizer_tests"
path = "tests/stabilizer_tests.rs"

[[test]]
name = "video_effect_tests"
path = "tests/video_effect_tests.rs"

[dependencies.ff-common]
version = "0.14.2"

[dependencies.ff-format]
version = "0.14.2"

[dependencies.ff-sys]
version = "0.14.2"

[dependencies.log]
version = "0.4.29"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0.17"

[dev-dependencies.ff-decode]
version = "0.14.2"

[dev-dependencies.ff-encode]
version = "0.14.2"

[dev-dependencies.ff-probe]
version = "0.14.2"

[dev-dependencies.image]
version = "0.25.9"
features = ["png"]
default-features = false

[dev-dependencies.serde_json]
version = "1.0.149"

[lints.clippy]
expect_used = "warn"
if_not_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "warn"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "warn"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
