mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-27 10:30:30 +00:00
44 lines
1.4 KiB
TOML
44 lines
1.4 KiB
TOML
[package]
|
|
name = "tutorials"
|
|
version = "0.19.0"
|
|
license = "MIT"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.63"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16" }
|
|
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.16", version = "0.16", optional = true }
|
|
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.16", version = "0.16", optional = true }
|
|
gst = { package = "gstreamer", version = "0.19", path = "../gstreamer" }
|
|
gst-audio = { package = "gstreamer-audio", version = "0.19", path = "../gstreamer-audio" }
|
|
gst-video = { package = "gstreamer-video", version = "0.19", path = "../gstreamer-video", optional = true }
|
|
gst-app = { package = "gstreamer-app", version = "0.19", path = "../gstreamer-app" }
|
|
gst-pbutils = { package = "gstreamer-pbutils", version = "0.19", path = "../gstreamer-pbutils" }
|
|
byte-slice-cast = "1"
|
|
anyhow = "1"
|
|
termion = { version = "2", optional = true }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
cocoa = "0.24"
|
|
|
|
[features]
|
|
tutorial5 = ["gtk", "gdk", "gst-video"]
|
|
tutorial5-x11 = ["tutorial5"]
|
|
tutorial5-quartz = ["tutorial5"]
|
|
|
|
[[bin]]
|
|
name = "basic-tutorial-13"
|
|
required-features = ["termion"]
|
|
|
|
[[bin]]
|
|
name = "playback-tutorial-1"
|
|
required-features = ["termion"]
|
|
|
|
[[bin]]
|
|
name = "playback-tutorial-2"
|
|
required-features = ["termion"]
|
|
|
|
[[bin]]
|
|
name = "playback-tutorial-5"
|
|
required-features = ["termion", "gst-video"]
|