Cargo.toml 3.46 KB
Newer Older
1 2
[package]
name = "examples"
Sebastian Dröge's avatar
Sebastian Dröge committed
3
version = "0.14.0"
4 5 6
authors = ["Sebastian Dröge <sebastian@centricular.com>"]

[dependencies]
7
glib = { git = "https://github.com/gtk-rs/glib", features = ["subclassing"] }
8
gstreamer = { path = "../gstreamer" }
9
gstreamer-gl = { path = "../gstreamer-gl", optional = true }
Sebastian Dröge's avatar
Sebastian Dröge committed
10
gstreamer-app = { path = "../gstreamer-app" }
11
gstreamer-audio = { path = "../gstreamer-audio" }
12
gstreamer-video = { path = "../gstreamer-video" }
13
gstreamer-pbutils = { path = "../gstreamer-pbutils" }
14
gstreamer-player = { path = "../gstreamer-player", optional = true }
15
gstreamer-editing-services = { path = "../gstreamer-editing-services", optional = true }
16
gstreamer-rtsp = { path = "../gstreamer-rtsp", optional = true }
17
gstreamer-rtsp-server = { path = "../gstreamer-rtsp-server", optional = true }
18
gstreamer-rtsp-server-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys", features = ["v1_8"], optional = true }
Sebastian Dröge's avatar
Sebastian Dröge committed
19
gtk = { git = "https://github.com/gtk-rs/gtk", optional = true }
20 21
gdk = { git = "https://github.com/gtk-rs/gdk", optional = true }
gio = { git = "https://github.com/gtk-rs/gio", optional = true }
22
futures-preview = { version = "0.2", optional = true }
23
byte-slice-cast = "0.2"
24 25
failure = "0.1"
failure_derive = "0.1"
Sebastian Dröge's avatar
Sebastian Dröge committed
26 27 28
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 }
Sebastian Dröge's avatar
Sebastian Dröge committed
29
glutin = { version = "0.21", optional = true }
30
winit = { version = "0.19", optional = true }
31 32

[build-dependencies]
Sebastian Dröge's avatar
Sebastian Dröge committed
33
gl_generator = { version = "0.11", optional = true }
34 35

[features]
36
default = []
37
gst-player = ["gstreamer-player"]
38
ges = ["gstreamer-editing-services"]
39
gtksink = ["gtk", "gio"]
40
gtkvideooverlay = ["gtk", "gdk", "gio"]
41 42
gtkvideooverlay-x11 = ["gtkvideooverlay"]
gtkvideooverlay-quartz = ["gtkvideooverlay"]
43
generic-futures = ["gstreamer/futures", "futures-preview"]
44
glib-futures = ["generic-futures", "glib/futures"]
45
gst-rtsp-server = ["gstreamer-rtsp-server"]
46
gst-rtsp-server-record = ["gstreamer-rtsp-server-sys", "gstreamer-rtsp-server", "gstreamer-rtsp", "gio"]
47
v1_10 = ["gstreamer/v1_10"]
Sebastian Dröge's avatar
Sebastian Dröge committed
48
pango-cairo = ["pango", "pangocairo", "cairo-rs"]
49 50 51
gl = ["gl_generator", "glutin"]
gl-egl = ["gstreamer-gl/egl"]
gl-x11 = ["gstreamer-gl/x11"]
52
gl-wayland = ["gstreamer-gl/wayland"]
Sebastian Dröge's avatar
Sebastian Dröge committed
53

54 55 56 57 58 59 60 61 62
[[bin]]
name = "appsink"

[[bin]]
name = "appsrc"

[[bin]]
name = "decodebin"

63 64 65
[[bin]]
name = "encodebin"

66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
[[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"

86 87 88
[[bin]]
name = "transmux"

89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
[[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]]
119 120
name = "futures"
required-features = ["generic-futures"]
121

122 123 124 125
[[bin]]
name = "glib-futures"
required-features = ["glib-futures"]

126 127 128
[[bin]]
name = "rtsp-server-record"
required-features = ["gst-rtsp-server-record"]
129 130 131

[[bin]]
name = "discoverer"
Sebastian Dröge's avatar
Sebastian Dröge committed
132 133 134 135

[[bin]]
name = "pango-cairo"
required-features = ["pango-cairo"]
136 137 138 139

[[bin]]
name = "ges"
required-features = ["ges"]
140 141 142 143

[[bin]]
name = "glupload"
required-features = ["gl"]
144
features = ["gl-egl", "gl-x11", "gl-wayland"]