[package]
edition = "2024"
rust-version = "1.93.0"
name = "ff-filter"
version = "0.18.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Video and audio filter graph construction over libavfilter"
readme = "README.md"
keywords = [
"video",
"audio",
"ffmpeg",
"filter",
"effect",
]
categories = [
"multimedia::video",
"multimedia::audio",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/itsakeyfut/avio"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
serde = [
"dep:serde",
"ff-format/serde",
]
[lib]
name = "ff_filter"
path = "src/lib.rs"
[[example]]
name = "advanced_audio_effects"
path = "examples/advanced_audio_effects.rs"
[[example]]
name = "advanced_video_effects"
path = "examples/advanced_video_effects.rs"
[[example]]
name = "alpha_matte_external"
path = "examples/alpha_matte_external.rs"
[[example]]
name = "blend_modes_demo"
path = "examples/blend_modes_demo.rs"
[[example]]
name = "chroma_key_green_screen"
path = "examples/chroma_key_green_screen.rs"
[[example]]
name = "filter_direct"
path = "examples/filter_direct.rs"
[[example]]
name = "loudness"
path = "examples/loudness.rs"
[[example]]
name = "luma_key_title_card"
path = "examples/luma_key_title_card.rs"
[[example]]
name = "mask_feathering"
path = "examples/mask_feathering.rs"
[[example]]
name = "multi_track_compose"
path = "examples/multi_track_compose.rs"
[[example]]
name = "polygon_garbage_matte"
path = "examples/polygon_garbage_matte.rs"
[[example]]
name = "quality_metrics"
path = "examples/quality_metrics.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 = "color_parse_reference_tests"
path = "tests/color_parse_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 = "parse_desc_tests"
path = "tests/parse_desc_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 = "solid_source_tests"
path = "tests/solid_source_tests.rs"
[[test]]
name = "stabilizer_tests"
path = "tests/stabilizer_tests.rs"
[[test]]
name = "text_source_tests"
path = "tests/text_source_tests.rs"
[[test]]
name = "unsafe_confinement"
path = "tests/unsafe_confinement.rs"
[[test]]
name = "video_effect_tests"
path = "tests/video_effect_tests.rs"
[dependencies.ff-common]
version = "0.18.0"
[dependencies.ff-format]
version = "0.18.0"
[dependencies.ff-sys]
version = "0.18.0"
[dependencies.log]
version = "0.4.29"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0.17"
[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