[package]
name = "gst-plugin-videofx"
version.workspace = true
authors = ["Sanchayan Maity <sanchayan@asymptotic.io>", "Rafael Caricio <rafael@caricio.com>"]
repository.workspace = true
license = "MPL-2.0"
description = "GStreamer Rust Video Effects Plugin"
edition.workspace = true
rust-version.workspace = true

[dependencies]
cairo-rs.workspace = true
atomic_refcell = "0.1"
color-thief = "0.2.2"
color-name = "1.0.0"
image = { version = "0.24.2", default-features = false }
image_hasher = "1.0.0"
dssim-core = { version = "3.2.3", optional = true }
rgb = { version = "0.8", optional = true }
once_cell.workspace = true
gst = { workspace = true, features = ["v1_16"] }
gst-base = { workspace = true, features = ["v1_16"] }
gst-video = { workspace = true, features = ["v1_16"] }

[dev-dependencies]
gst-check.workspace = true

[lib]
name = "gstrsvideofx"
crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"

[build-dependencies]
gst-plugin-version-helper.workspace = true

[features]
static = []
capi = []
doc = ["gst/v1_18"]
dssim = ["dssim-core", "rgb"]

[package.metadata.capi]
min_version = "0.9.21"

[package.metadata.capi.header]
enabled = false

[package.metadata.capi.library]
install_subdir = "gstreamer-1.0"
versioning = false
import_library = false

[package.metadata.capi.pkg_config]
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, cairo-gobject"
