Cargo.toml 1.42 KB
Newer Older
1 2 3 4 5 6 7
[package]
name = "gst-plugin-threadshare"
version = "0.1.0"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
license = "LGPL-2.1+"

[dependencies]
8
libc = "0.2"
9
glib-sys = { git = "https://github.com/gtk-rs/sys" }
10 11
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
gio-sys = { git = "https://github.com/gtk-rs/sys" }
12
gstreamer-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys" }
13
glib = { git = "https://github.com/gtk-rs/glib", features = ["subclassing"] }
14
gio = { git = "https://github.com/gtk-rs/gio" }
15
gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["subclassing"] }
16
gstreamer-app = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
17
gstreamer-check = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
18 19 20 21 22
tokio = "0.1"
tokio-reactor = "0.1"
tokio-executor = "0.1"
tokio-timer = "0.2"
tokio-current-thread = "0.1"
23 24
futures = "0.1"
lazy_static = "1.0"
25
either = "1.0"
26
rand = "0.6"
27
net2 = "0.2"
28

29 30 31
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winsock2", "processthreadsapi"] }

32 33
[lib]
name = "gstthreadshare"
34
crate-type = ["cdylib", "rlib"]
35
path = "src/lib.rs"
Sebastian Dröge's avatar
Sebastian Dröge committed
36

37
[[example]]
38 39
name = "benchmark"
path = "examples/benchmark.rs"
40

41 42 43
[[example]]
name = "udpsrc-benchmark-sender"
path = "examples/udpsrc_benchmark_sender.rs"
44 45 46 47

[[example]]
name = "tcpclientsrc-benchmark-sender"
path = "examples/tcpclientsrc_benchmark_sender.rs"