Cargo.toml 2.88 KB
Newer Older
1 2
[package]
name = "examples"
3
version = "0.12.0"
4 5 6
authors = ["Sebastian Dröge <sebastian@centricular.com>"]

[dependencies]
7
glib = { git = "https://github.com/gtk-rs/glib" }
8
gstreamer = { path = "../gstreamer" }
9
gstreamer-app = { path = "../gstreamer-app" }
10
gstreamer-audio = { path = "../gstreamer-audio" }
11
gstreamer-video = { path = "../gstreamer-video" }
12
gstreamer-pbutils = { path = "../gstreamer-pbutils" }
13
gstreamer-player = { path = "../gstreamer-player", optional = true }
14
gstreamer-rtsp = { path = "../gstreamer-rtsp", optional = true }
15
gstreamer-rtsp-server = { path = "../gstreamer-rtsp-server", optional = true }
16
gstreamer-rtsp-server-sys = { git = "https://github.com/sdroege/gstreamer-sys", features = ["v1_8"], optional = true }
17 18 19
gtk = { git = "https://github.com/gtk-rs/gtk", features = ["v3_6"], optional = true }
gdk = { git = "https://github.com/gtk-rs/gdk", optional = true }
gio = { git = "https://github.com/gtk-rs/gio", optional = true }
20
futures-preview = { version = "0.2", optional = true }
21
byte-slice-cast = "0.2"
22 23
failure = "0.1"
failure_derive = "0.1"
24 25 26
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 }
27 28 29

[features]
gst-player = ["gstreamer-player"]
30
gtksink = ["gtk", "gio"]
31
gtkvideooverlay = ["gtk", "gdk", "gio"]
32 33
gtkvideooverlay-x11 = ["gtkvideooverlay"]
gtkvideooverlay-quartz = ["gtkvideooverlay"]
34
generic-futures = ["gstreamer/futures", "futures-preview"]
35
glib-futures = ["generic-futures", "glib/futures"]
36
gst-rtsp-server = ["gstreamer-rtsp-server"]
37
gst-rtsp-server-record = ["gstreamer-rtsp-server-sys", "gstreamer-rtsp-server", "gstreamer-rtsp", "gio"]
38
default-features = []
39
v1_10 = ["gstreamer/v1_10"]
40
pango-cairo = ["pango", "pangocairo", "cairo-rs"]
Sebastian Dröge's avatar
Sebastian Dröge committed
41 42 43

[badges]
travis-ci = { repository = "sdroege/gstreamer-rs", branch = "master" }
44 45 46 47 48 49 50 51 52 53

[[bin]]
name = "appsink"

[[bin]]
name = "appsrc"

[[bin]]
name = "decodebin"

54 55 56
[[bin]]
name = "encodebin"

57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
[[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 = "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]]
107 108
name = "futures"
required-features = ["generic-futures"]
109

110 111 112 113
[[bin]]
name = "glib-futures"
required-features = ["glib-futures"]

114 115 116
[[bin]]
name = "rtsp-server-record"
required-features = ["gst-rtsp-server-record"]
117 118 119

[[bin]]
name = "discoverer"
120 121 122 123

[[bin]]
name = "pango-cairo"
required-features = ["pango-cairo"]