2017-09-08 08:51:27 +00:00
|
|
|
[package]
|
|
|
|
name = "tutorials"
|
2023-02-09 21:42:32 +00:00
|
|
|
version = "0.21.0"
|
2019-10-22 13:36:32 +00:00
|
|
|
license = "MIT"
|
2017-09-08 08:51:27 +00:00
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
2021-10-30 11:31:45 +00:00
|
|
|
edition = "2021"
|
2023-02-20 07:57:48 +00:00
|
|
|
rust-version = "1.66"
|
2017-09-08 08:51:27 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-05-12 13:10:16 +00:00
|
|
|
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" }
|
2020-10-14 16:43:30 +00:00
|
|
|
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" }
|
2020-10-13 09:28:19 +00:00
|
|
|
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 }
|
2017-09-08 08:51:27 +00:00
|
|
|
|
2021-07-12 10:13:34 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2023-06-26 11:00:54 +00:00
|
|
|
cocoa = "0.25"
|
2022-12-11 21:09:54 +00:00
|
|
|
objc = "0.2.7"
|
2021-07-12 10:13:34 +00:00
|
|
|
|
2017-10-11 09:15:34 +00:00
|
|
|
[features]
|
2020-10-14 16:43:30 +00:00
|
|
|
tutorial5 = ["gtk", "gdk", "gst-video"]
|
2017-10-11 09:15:34 +00:00
|
|
|
tutorial5-x11 = ["tutorial5"]
|
|
|
|
tutorial5-quartz = ["tutorial5"]
|
2021-01-07 21:49:18 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "basic-tutorial-13"
|
|
|
|
required-features = ["termion"]
|
2021-04-26 14:01:18 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "playback-tutorial-1"
|
|
|
|
required-features = ["termion"]
|
2021-11-06 14:43:15 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "playback-tutorial-2"
|
|
|
|
required-features = ["termion"]
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "playback-tutorial-5"
|
|
|
|
required-features = ["termion", "gst-video"]
|