2017-12-05 07:52:31 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-togglerecord"
|
2024-02-05 13:35:07 +00:00
|
|
|
version.workspace = true
|
2017-12-05 07:52:31 +00:00
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
2022-01-15 18:40:12 +00:00
|
|
|
license = "MPL-2.0"
|
2022-10-23 09:13:23 +00:00
|
|
|
description = "GStreamer Toggle Record Plugin"
|
2024-02-05 13:35:07 +00:00
|
|
|
repository.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
2017-12-05 07:52:31 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst.workspace = true
|
|
|
|
gst-audio.workspace = true
|
|
|
|
gst-video.workspace = true
|
2022-08-26 17:31:19 +00:00
|
|
|
gst-plugin-gtk4 = { path = "../../video/gtk4", optional = true }
|
2024-02-05 13:35:07 +00:00
|
|
|
gtk = { workspace = true, optional = true }
|
|
|
|
gio = { workspace = true, optional = true }
|
2022-01-31 13:20:44 +00:00
|
|
|
parking_lot = "0.12"
|
2017-12-05 17:30:23 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2017-12-05 07:52:31 +00:00
|
|
|
either = "1.0"
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-check.workspace = true
|
2017-12-05 07:52:31 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "gsttogglerecord"
|
2020-11-26 15:07:41 +00:00
|
|
|
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"
|
2022-08-26 17:31:19 +00:00
|
|
|
required-features = ["gtk", "gio", "gst-plugin-gtk4"]
|
2019-06-03 10:53:58 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-plugin-version-helper.workspace = true
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[features]
|
2022-04-07 09:41:54 +00:00
|
|
|
static = []
|
2021-08-11 17:51:36 +00:00
|
|
|
capi = []
|
2022-08-25 22:30:08 +00:00
|
|
|
doc = ["gst/v1_18"]
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
2023-08-09 10:54:34 +00:00
|
|
|
min_version = "0.9.21"
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi.header]
|
|
|
|
enabled = false
|
|
|
|
|
|
|
|
[package.metadata.capi.library]
|
|
|
|
install_subdir = "gstreamer-1.0"
|
|
|
|
versioning = false
|
2023-08-09 10:54:34 +00:00
|
|
|
import_library = false
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[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"
|