2018-03-06 09:38:27 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-threadshare"
|
2024-02-05 13:35:07 +00:00
|
|
|
version.workspace = true
|
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"
|
2022-10-23 09:13:23 +00:00
|
|
|
description = "GStreamer Threadshare Plugin"
|
2024-02-05 13:35:07 +00:00
|
|
|
repository.workspace = true
|
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
2018-03-06 09:38:27 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2022-07-26 07:23:52 +00:00
|
|
|
async-task = "4.3.0"
|
2023-09-27 16:32:54 +00:00
|
|
|
cfg-if = "1"
|
|
|
|
concurrent-queue = "2.2.0"
|
2023-08-17 06:18:56 +00:00
|
|
|
flume = "0.11"
|
2023-09-27 16:32:54 +00:00
|
|
|
futures = "0.3.28"
|
2024-02-05 13:35:07 +00:00
|
|
|
gio.workspace = true
|
|
|
|
gst.workspace = true
|
|
|
|
gst-audio.workspace = true
|
|
|
|
gst-net.workspace = true
|
|
|
|
gst-rtp.workspace = true
|
2021-12-14 18:40:27 +00:00
|
|
|
pin-project-lite = "0.2.0"
|
2023-09-27 16:32:54 +00:00
|
|
|
polling = "3.1.0"
|
2021-01-09 10:24:28 +00:00
|
|
|
rand = "0.8"
|
2023-09-27 16:32:54 +00:00
|
|
|
rustix = { version = "0.38.2", default-features = false, features = ["std", "fs", "net"] }
|
2022-07-26 07:23:52 +00:00
|
|
|
slab = "0.4.7"
|
2023-03-01 11:59:53 +00:00
|
|
|
socket2 = {features = ["all"], version = "0.5"}
|
2021-12-14 18:40:27 +00:00
|
|
|
waker-fn = "1.1"
|
2024-11-14 11:15:00 +00:00
|
|
|
bitflags = "2.6.0"
|
2024-07-15 14:38:36 +00:00
|
|
|
libc = "0.2"
|
|
|
|
windows-sys = "0.59.0"
|
2024-11-14 11:15:00 +00:00
|
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
|
|
getifaddrs = "0.1"
|
|
|
|
|
2018-03-06 09:38:27 +00:00
|
|
|
|
2022-08-16 12:26:24 +00:00
|
|
|
# Used by examples
|
2022-09-29 06:48:53 +00:00
|
|
|
clap = { version = "4", features = ["derive"], optional = true }
|
2022-08-16 12:26:24 +00:00
|
|
|
|
2018-11-30 17:38:25 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2021-12-14 18:40:27 +00:00
|
|
|
winapi = { version = "0.3.9", features = ["winsock2", "processthreadsapi"] }
|
2018-11-30 17:38:25 +00:00
|
|
|
|
2020-11-22 14:24:55 +00:00
|
|
|
[dev-dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-check.workspace = true
|
|
|
|
gst-app.workspace = true
|
2020-11-22 14:24:55 +00:00
|
|
|
|
2018-03-06 09:38:27 +00:00
|
|
|
[lib]
|
|
|
|
name = "gstthreadshare"
|
2020-11-26 15:07:41 +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]]
|
2022-12-27 18:27:11 +00:00
|
|
|
name = "ts-benchmark"
|
2018-07-06 07:35:16 +00:00
|
|
|
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
|
|
|
|
2022-08-16 12:26:24 +00:00
|
|
|
[[example]]
|
2022-08-19 17:40:05 +00:00
|
|
|
name = "ts-standalone"
|
2022-08-16 12:26:24 +00:00
|
|
|
path = "examples/standalone/main.rs"
|
|
|
|
|
2019-06-03 10:53:58 +00:00
|
|
|
[build-dependencies]
|
2024-02-05 13:35:07 +00:00
|
|
|
gst-plugin-version-helper.workspace = true
|
2019-08-05 13:19:06 +00:00
|
|
|
cc = "1.0.38"
|
|
|
|
pkg-config = "0.3.15"
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[features]
|
2022-04-07 09:41:54 +00:00
|
|
|
static = []
|
2021-08-11 17:51:36 +00:00
|
|
|
capi = []
|
2022-09-07 21:10:29 +00:00
|
|
|
# Adds performance counters used by benchmarking tools.
|
|
|
|
tuning = []
|
2022-08-25 22:30:08 +00:00
|
|
|
doc = ["gst/v1_18"]
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
2023-08-09 10:54:34 +00:00
|
|
|
min_version = "0.9.21"
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi.header]
|
|
|
|
enabled = false
|
|
|
|
|
|
|
|
[package.metadata.capi.library]
|
|
|
|
install_subdir = "gstreamer-1.0"
|
|
|
|
versioning = false
|
2023-08-09 10:54:34 +00:00
|
|
|
import_library = false
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
|
|
requires_private = "gstreamer-1.0, gstreamer-net-1.0, gstreamer-rtp-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
|