2018-03-06 09:38:27 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-threadshare"
|
2019-07-07 10:20:15 +00:00
|
|
|
version = "0.6.0"
|
2018-03-06 09:38:27 +00:00
|
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
2020-04-16 11:06:34 +00:00
|
|
|
license = "LGPL-2.1-or-later"
|
2019-06-03 10:53:58 +00:00
|
|
|
description = "Threadshare Plugin"
|
|
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
2019-11-24 20:12:40 +00:00
|
|
|
edition = "2018"
|
2018-03-06 09:38:27 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2018-11-30 17:38:25 +00:00
|
|
|
libc = "0.2"
|
2020-11-01 08:24:02 +00:00
|
|
|
glib-sys = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
|
|
gobject-sys = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
|
|
gio-sys = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs" }
|
2020-01-28 21:08:58 +00:00
|
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features=["v1_10"] }
|
2019-11-24 20:12:40 +00:00
|
|
|
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
|
|
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
|
|
gst-net = { package = "gstreamer-net", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
|
|
gst-rtp = { package = "gstreamer-rtp", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
2020-11-01 08:24:02 +00:00
|
|
|
gstreamer-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
2020-10-17 09:07:30 +00:00
|
|
|
pin-project = "1"
|
2020-05-15 21:37:56 +00:00
|
|
|
once_cell = "1"
|
2020-06-30 08:40:41 +00:00
|
|
|
tokio = { git = "https://github.com/fengalin/tokio", tag = "tokio-0.2.13-throttling", features = ["io-util", "macros", "rt-core", "sync", "stream", "time", "tcp", "udp", "rt-util"] }
|
2020-05-15 21:37:56 +00:00
|
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
2018-03-08 20:26:34 +00:00
|
|
|
lazy_static = "1.0"
|
2019-07-02 14:41:27 +00:00
|
|
|
rand = "0.7"
|
2020-05-29 10:07:14 +00:00
|
|
|
socket2 = "0.3"
|
2018-03-06 09:38:27 +00:00
|
|
|
|
2018-11-30 17:38:25 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
winapi = { version = "0.3", features = ["winsock2", "processthreadsapi"] }
|
|
|
|
|
2020-05-29 10:07:14 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
|
|
socket2 = { version = "0.3", features = ["reuseport"] }
|
|
|
|
|
2018-03-06 09:38:27 +00:00
|
|
|
[lib]
|
|
|
|
name = "gstthreadshare"
|
2018-11-05 11:47:34 +00:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2018-03-06 09:38:27 +00:00
|
|
|
path = "src/lib.rs"
|
2018-03-15 18:52:38 +00:00
|
|
|
|
2018-04-05 13:00:43 +00:00
|
|
|
[[example]]
|
2018-07-06 07:35:16 +00:00
|
|
|
name = "benchmark"
|
|
|
|
path = "examples/benchmark.rs"
|
2018-04-05 13:00:43 +00:00
|
|
|
|
2018-04-05 17:28:20 +00:00
|
|
|
[[example]]
|
|
|
|
name = "udpsrc-benchmark-sender"
|
|
|
|
path = "examples/udpsrc_benchmark_sender.rs"
|
2018-07-06 07:32:24 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "tcpclientsrc-benchmark-sender"
|
|
|
|
path = "examples/tcpclientsrc_benchmark_sender.rs"
|
2019-06-03 10:53:58 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2020-04-05 14:38:52 +00:00
|
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
2019-08-05 13:19:06 +00:00
|
|
|
cc = "1.0.38"
|
|
|
|
pkg-config = "0.3.15"
|