mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 21:11:14 +00:00
77c6741ae0
Also use async/await in the futures examples.
150 lines
3.4 KiB
TOML
150 lines
3.4 KiB
TOML
[package]
|
|
name = "examples"
|
|
version = "0.15.0"
|
|
license = "MIT"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/glib" }
|
|
gstreamer = { path = "../gstreamer" }
|
|
gstreamer-gl = { path = "../gstreamer-gl", optional = true }
|
|
gstreamer-app = { path = "../gstreamer-app" }
|
|
gstreamer-audio = { path = "../gstreamer-audio" }
|
|
gstreamer-base = { path = "../gstreamer-base" }
|
|
gstreamer-video = { path = "../gstreamer-video" }
|
|
gstreamer-pbutils = { path = "../gstreamer-pbutils" }
|
|
gstreamer-player = { path = "../gstreamer-player", optional = true }
|
|
gstreamer-editing-services = { path = "../gstreamer-editing-services", optional = true }
|
|
gstreamer-rtsp = { path = "../gstreamer-rtsp", optional = true }
|
|
gstreamer-rtsp-server = { path = "../gstreamer-rtsp-server", optional = true }
|
|
gstreamer-rtsp-server-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys", features = ["v1_8"], optional = true }
|
|
gtk = { git = "https://github.com/gtk-rs/gtk", optional = true }
|
|
gdk = { git = "https://github.com/gtk-rs/gdk", optional = true }
|
|
gio = { git = "https://github.com/gtk-rs/gio", optional = true }
|
|
futures = "0.3"
|
|
byte-slice-cast = "0.3"
|
|
failure = "0.1"
|
|
failure_derive = "0.1"
|
|
cairo-rs = { git = "https://github.com/gtk-rs/cairo", features=["use_glib"], optional = true }
|
|
pango = { git = "https://github.com/gtk-rs/pango", optional = true }
|
|
pangocairo = { git = "https://github.com/gtk-rs/pangocairo", optional = true }
|
|
glutin = { version = "0.21", optional = true }
|
|
winit = { version = "0.19", optional = true }
|
|
lazy_static = "1.0"
|
|
|
|
[build-dependencies]
|
|
gl_generator = { version = "0.14", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
gst-player = ["gstreamer-player"]
|
|
ges = ["gstreamer-editing-services"]
|
|
gtksink = ["gtk", "gio"]
|
|
gtkvideooverlay = ["gtk", "gdk", "gio"]
|
|
gtkvideooverlay-x11 = ["gtkvideooverlay"]
|
|
gtkvideooverlay-quartz = ["gtkvideooverlay"]
|
|
gst-rtsp-server = ["gstreamer-rtsp-server"]
|
|
gst-rtsp-server-record = ["gstreamer-rtsp-server-sys", "gstreamer-rtsp-server", "gstreamer-rtsp", "gio"]
|
|
v1_10 = ["gstreamer/v1_10"]
|
|
pango-cairo = ["pango", "pangocairo", "cairo-rs"]
|
|
gl = ["gstreamer-gl", "gl_generator", "glutin"]
|
|
gl-egl = ["gstreamer-gl/egl"]
|
|
gl-x11 = ["gstreamer-gl/x11"]
|
|
gl-wayland = ["gstreamer-gl/wayland"]
|
|
|
|
[[bin]]
|
|
name = "appsink"
|
|
|
|
[[bin]]
|
|
name = "appsrc"
|
|
|
|
[[bin]]
|
|
name = "decodebin"
|
|
|
|
[[bin]]
|
|
name = "encodebin"
|
|
|
|
[[bin]]
|
|
name = "events"
|
|
|
|
[[bin]]
|
|
name = "gtksink"
|
|
required-features = ["gtksink"]
|
|
|
|
[[bin]]
|
|
name = "gtkvideooverlay"
|
|
required-features = ["gtkvideooverlay"]
|
|
|
|
[[bin]]
|
|
name = "iterator"
|
|
|
|
[[bin]]
|
|
name = "launch_glib_main"
|
|
|
|
[[bin]]
|
|
name = "launch"
|
|
|
|
[[bin]]
|
|
name = "transmux"
|
|
|
|
[[bin]]
|
|
name = "pad_probes"
|
|
|
|
[[bin]]
|
|
name = "playbin"
|
|
|
|
[[bin]]
|
|
name = "player"
|
|
required-features = ["gst-player"]
|
|
|
|
[[bin]]
|
|
name = "queries"
|
|
|
|
[[bin]]
|
|
name = "rtpfecclient"
|
|
|
|
[[bin]]
|
|
name = "rtpfecserver"
|
|
|
|
[[bin]]
|
|
name = "rtsp-server"
|
|
required-features = ["gst-rtsp-server"]
|
|
|
|
[[bin]]
|
|
name = "tagsetter"
|
|
|
|
[[bin]]
|
|
name = "toc"
|
|
|
|
[[bin]]
|
|
name = "futures"
|
|
edition = "2018"
|
|
|
|
[[bin]]
|
|
name = "glib-futures"
|
|
edition = "2018"
|
|
|
|
[[bin]]
|
|
name = "rtsp-server-record"
|
|
required-features = ["gst-rtsp-server-record"]
|
|
|
|
[[bin]]
|
|
name = "discoverer"
|
|
|
|
[[bin]]
|
|
name = "pango-cairo"
|
|
required-features = ["pango-cairo"]
|
|
|
|
[[bin]]
|
|
name = "ges"
|
|
required-features = ["ges"]
|
|
|
|
[[bin]]
|
|
name = "glupload"
|
|
required-features = ["gl"]
|
|
features = ["gl-egl", "gl-x11", "gl-wayland"]
|
|
edition = "2018"
|
|
|
|
[[bin]]
|
|
name = "subclass"
|
|
edition = "2018"
|