mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-25 19:40:29 +00:00
54 lines
1.9 KiB
TOML
54 lines
1.9 KiB
TOML
[package]
|
|
name = "gst-plugin-threadshare"
|
|
version = "0.6.0"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
license = "LGPL-2.1-or-later"
|
|
description = "Threadshare Plugin"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
gio = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features=["v1_10"] }
|
|
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" }
|
|
pin-project = "1"
|
|
once_cell = "1"
|
|
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"] }
|
|
futures = { version = "0.3", features = ["thread-pool"] }
|
|
rand = "0.7"
|
|
socket2 = "0.3"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["winsock2", "processthreadsapi"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
socket2 = { version = "0.3", features = ["reuseport"] }
|
|
|
|
[dev-dependencies]
|
|
gst-check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gst-app = { package = "gstreamer-app", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
|
|
[lib]
|
|
name = "gstthreadshare"
|
|
crate-type = ["cdylib", "rlib", "staticlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "benchmark"
|
|
path = "examples/benchmark.rs"
|
|
|
|
[[example]]
|
|
name = "udpsrc-benchmark-sender"
|
|
path = "examples/udpsrc_benchmark_sender.rs"
|
|
|
|
[[example]]
|
|
name = "tcpclientsrc-benchmark-sender"
|
|
path = "examples/tcpclientsrc_benchmark_sender.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
|
cc = "1.0.38"
|
|
pkg-config = "0.3.15"
|