gst-plugins-rs/utils/togglerecord/Cargo.toml

52 lines
1.5 KiB
TOML
Raw Normal View History

2017-12-05 07:52:31 +00:00
[package]
name = "gst-plugin-togglerecord"
version = "0.8.0"
2017-12-05 07:52:31 +00:00
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
license = "LGPL-2.1-or-later"
description = "Toggle Record Plugin"
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
edition = "2018"
2017-12-05 07:52:31 +00:00
[dependencies]
2020-11-22 16:59:46 +00:00
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gst-video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", optional = true }
2020-06-30 07:49:27 +00:00
parking_lot = "0.11"
2020-11-22 16:59:46 +00:00
once_cell = "1.0"
[dev-dependencies]
2017-12-05 07:52:31 +00:00
either = "1.0"
[lib]
name = "gsttogglerecord"
crate-type = ["cdylib", "rlib"]
2017-12-05 07:52:31 +00:00
path = "src/lib.rs"
[[example]]
name = "gtk-recording"
path = "examples/gtk_recording.rs"
required-features = ["gtk", "gio"]
[build-dependencies]
gst-plugin-version-helper = { path="../../version-helper" }
[features]
# GStreamer 1.14 is required for static linking
static = ["gst/v1_14"]
capi = []
[package.metadata.capi]
min_version = "0.8.0"
[package.metadata.capi.header]
enabled = false
[package.metadata.capi.library]
install_subdir = "gstreamer-1.0"
versioning = 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"