gstreamer-rs/examples/Cargo.toml

198 lines
5.4 KiB
TOML
Raw Normal View History

[package]
name = "examples"
2023-02-09 19:27:26 +00:00
version = "0.19.8"
license = "MIT"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
edition = "2021"
rust-version = "1.63"
[dependencies]
2022-10-24 07:54:30 +00:00
glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16.2" }
gst = { package = "gstreamer", version = "0.19", path = "../gstreamer" }
gst-gl = { package = "gstreamer-gl", version = "0.19", path = "../gstreamer-gl", optional = true }
gst-gl-egl = { package = "gstreamer-gl-egl", version = "0.19", path = "../gstreamer-gl/egl", optional = true }
gst-gl-wayland = { package = "gstreamer-gl-wayland", version = "0.19", path = "../gstreamer-gl/wayland", optional = true }
gst-gl-x11 = { package = "gstreamer-gl-x11", version = "0.19", path = "../gstreamer-gl/x11", optional = true }
gst-app = { package = "gstreamer-app", version = "0.19", path = "../gstreamer-app" }
gst-audio = { package = "gstreamer-audio", version = "0.19", path = "../gstreamer-audio" }
gst-base = { package = "gstreamer-base", version = "0.19", path = "../gstreamer-base" }
gst-video = { package = "gstreamer-video", version = "0.19", path = "../gstreamer-video" }
gst-pbutils = { package = "gstreamer-pbutils", version = "0.19", path = "../gstreamer-pbutils" }
gst-play = { package = "gstreamer-play", version = "0.19", path = "../gstreamer-play", optional = true }
gst-player = { package = "gstreamer-player", version = "0.19", path = "../gstreamer-player", optional = true }
ges = { package = "gstreamer-editing-services", version = "0.19", path = "../gstreamer-editing-services", optional = true }
gst-sdp = { package = "gstreamer-sdp", version = "0.19", path = "../gstreamer-sdp", optional = true }
gst-rtsp = { package = "gstreamer-rtsp", version = "0.19", path = "../gstreamer-rtsp", optional = true }
gst-rtsp-server = { package = "gstreamer-rtsp-server", version = "0.19", path = "../gstreamer-rtsp-server", optional = true }
gst-allocators = { package = "gstreamer-allocators", version = "0.19", path = "../gstreamer-allocators", optional = true }
gtk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.16", version = "0.16", optional = true }
gdk = { git = "https://github.com/gtk-rs/gtk3-rs", branch = "0.16", version = "0.16", optional = true }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
anyhow = "1.0"
derive_more = "0.99.5"
futures = "0.3"
byte-slice-cast = "1"
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", features=["use_glib"], optional = true }
pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.16", version = "0.16", optional = true }
2022-08-09 11:32:09 +00:00
glutin = { version = "0.29", optional = true }
once_cell = "1.0"
image = { version = "0.24", optional = true, default-features = false, features = ["png", "jpeg"] }
memmap2 = { version = "0.5", optional = true }
2022-06-06 08:18:40 +00:00
memfd = { version = "0.6", optional = true }
uds = { version = "0.2", optional = true }
2018-10-18 10:25:14 +00:00
[target.'cfg(target_os = "macos")'.dependencies]
cocoa = "0.24"
2018-10-18 10:25:14 +00:00
[build-dependencies]
gl_generator = { version = "0.14", optional = true }
[features]
default = []
gtksink = ["gtk", "gio"]
gtkvideooverlay = ["gtk", "gdk", "gio"]
gtkvideooverlay-x11 = ["gtkvideooverlay"]
gtkvideooverlay-quartz = ["gtkvideooverlay"]
rtsp-server = ["gst-rtsp-server", "gst-rtsp", "gst-sdp"]
2020-11-22 10:55:32 +00:00
rtsp-server-record = ["gst-rtsp-server", "gst-rtsp", "gio"]
2018-08-28 08:06:01 +00:00
pango-cairo = ["pango", "pangocairo", "cairo-rs"]
2020-11-22 10:55:32 +00:00
overlay-composition = ["pango", "pangocairo", "cairo-rs"]
gl = ["gst-gl", "gl_generator", "glutin"]
gst-gl-x11 = ["dep:gst-gl-x11"]
gst-gl-egl = ["dep:gst-gl-egl"]
gst-gl-wayland = ["dep:gst-gl-wayland"]
allocators = ["gst-allocators", "memmap2", "memfd", "uds"]
2017-08-15 07:29:06 +00:00
[[bin]]
name = "appsink"
[[bin]]
name = "appsrc"
[[bin]]
name = "custom_events"
[[bin]]
name = "custom_meta"
[[bin]]
name = "decodebin"
[[bin]]
name = "debug_ringbuffer"
[[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"
2022-05-15 22:48:58 +00:00
[[bin]]
name = "play"
required-features = ["gst-play"]
[[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 = ["rtsp-server"]
[[bin]]
name = "rtsp-server-subclass"
required-features = ["rtsp-server"]
[[bin]]
name = "tagsetter"
[[bin]]
name = "toc"
[[bin]]
name = "futures"
[[bin]]
name = "glib-futures"
[[bin]]
name = "rtsp-server-record"
required-features = ["rtsp-server-record"]
[[bin]]
name = "discoverer"
2018-08-28 08:06:01 +00:00
[[bin]]
name = "pango-cairo"
required-features = ["pango-cairo"]
[[bin]]
name = "overlay-composition"
required-features = ["overlay-composition"]
[[bin]]
name = "ges"
required-features = ["ges"]
2018-10-18 10:25:14 +00:00
[[bin]]
name = "glwindow"
2018-10-18 10:25:14 +00:00
required-features = ["gl"]
[[bin]]
name = "glfilter"
required-features = ["gl"]
[[bin]]
name = "subclass"
[[bin]]
name = "video_converter"
[[bin]]
name = "thumbnail"
required-features = ["image"]
[[bin]]
name = "fd_allocator"
required-features = ["allocators"]
[[bin]]
name = "cairo_compositor"
required-features = ["cairo-rs", "gst-video/v1_18"]