gstreamer-rs/tutorials/Cargo.toml

46 lines
1.3 KiB
TOML
Raw Normal View History

[package]
name = "tutorials"
2023-02-09 21:42:32 +00:00
version = "0.21.0"
license = "MIT"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
edition = "2021"
rust-version = "1.66"
[dependencies]
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", optional = true }
2020-10-10 08:00:48 +00:00
gst = { package = "gstreamer", path = "../gstreamer" }
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", optional = true }
2020-10-10 08:00:48 +00:00
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" }
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
byte-slice-cast = "1"
2020-10-10 07:52:15 +00:00
anyhow = "1"
2022-10-22 15:30:48 +00:00
termion = { version = "2", optional = true }
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.25"
objc = "0.2.7"
[features]
tutorial5 = ["gtk", "gdk", "gst-video"]
tutorial5-x11 = ["tutorial5"]
tutorial5-quartz = ["tutorial5"]
[[bin]]
name = "basic-tutorial-13"
required-features = ["termion"]
2021-04-26 14:01:18 +00:00
[[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"]