mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-14 13:31:09 +00:00
fc4a0d29c6
The latter will be removed in favour of using async code in the future, and async code generally allows for more flexible message handling than the callback based MainContext channel. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1333>
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "tutorials"
|
|
version = "0.22.0"
|
|
license = "MIT"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
|
gst = { package = "gstreamer", path = "../gstreamer" }
|
|
gst-audio = { package = "gstreamer-audio", path = "../gstreamer-audio" }
|
|
gst-video = { package = "gstreamer-video", path = "../gstreamer-video", optional = true }
|
|
gst-app = { package = "gstreamer-app", path = "../gstreamer-app" }
|
|
gst-pbutils = { package = "gstreamer-pbutils", path = "../gstreamer-pbutils" }
|
|
byte-slice-cast = "1"
|
|
anyhow = "1"
|
|
termion = { version = "2", optional = true }
|
|
async-channel = "2.0.0"
|
|
futures = "0.3"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
cocoa = "0.25"
|
|
objc = "0.2.7"
|
|
|
|
[[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"]
|