[package] name = "gst-plugin-togglerecord" version.workspace = true authors = ["Sebastian Dröge "] license = "MPL-2.0" description = "GStreamer Toggle Record Plugin" repository.workspace = true edition.workspace = true rust-version.workspace = true [dependencies] gst.workspace = true gst-audio.workspace = true gst-video.workspace = true gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true } gtk = { workspace = true, optional = true } gio = { workspace = true, optional = true } parking_lot = "0.12" [dev-dependencies] either = "1.0" gst-check.workspace = true [lib] name = "gsttogglerecord" crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [[example]] name = "gtk-recording" path = "examples/gtk_recording.rs" required-features = ["gtk", "gio", "gst-plugin-gtk4"] [build-dependencies] gst-plugin-version-helper.workspace = true [features] static = [] capi = [] doc = ["gst/v1_18"] [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-audio-1.0, gstreamer-video-1.0, gobject-2.0, glib-2.0, gmodule-2.0"