[package] name = "gst-plugin-livesync" version.workspace = true authors = ["Jan Alexander Steffens (heftig) "] license = "MPL-2.0" description = "Livesync Plugin" repository.workspace = true edition.workspace = true rust-version.workspace = true [dependencies] gio = { workspace = true, optional = true } gst.workspace = true gst-audio.workspace = true gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true, version = "0.12" } gtk = { workspace = true, optional = true } num-rational = { version = "0.4", default-features = false, features = [] } once_cell.workspace = true parking_lot = "0.12" [dev-dependencies] gst-check.workspace = true [lib] name = "gstlivesync" crate-type = ["cdylib", "rlib"] path = "src/lib.rs" [[example]] name = "gtk-livesync" path = "examples/gtk_livesync.rs" required-features = ["gtk", "gio", "gst-plugin-gtk4"] [[test]] name = "livesync" path = "tests/livesync.rs" [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, gobject-2.0, glib-2.0, gmodule-2.0"