mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
86cf7a7d81
This is mostly useful for getting mutable access to all planes at once. Using `plane_data_mut()` for this is not possible as it would require borrowing the frame mutably multiple times. As each plane's data is not overlapping with any other plane we can still provide such functionality safely. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1367>
43 lines
1.5 KiB
TOML
43 lines
1.5 KiB
TOML
[package]
|
|
name = "gstreamer-audio"
|
|
version = "0.22.0"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
categories = ["api-bindings", "multimedia"]
|
|
description = "Rust bindings for GStreamer Audio library"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
homepage = "https://gstreamer.freedesktop.org"
|
|
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_audio/"
|
|
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
|
edition = "2021"
|
|
rust-version = "1.70"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
cfg-if = "1.0"
|
|
ffi = { package = "gstreamer-audio-sys", path = "sys" }
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
|
gst = { package = "gstreamer", path = "../gstreamer" }
|
|
gst-base = { package = "gstreamer-base", path = "../gstreamer-base" }
|
|
serde = { version = "1.0", optional = true }
|
|
smallvec = "1.0"
|
|
|
|
[dev-dependencies]
|
|
itertools = "0.12"
|
|
serde_json = "1.0"
|
|
gir-format-check = "0.1"
|
|
|
|
[features]
|
|
default = []
|
|
v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16"]
|
|
v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"]
|
|
v1_20 = ["gst/v1_20", "gst-base/v1_20", "ffi/v1_20", "v1_18"]
|
|
v1_22 = ["gst/v1_22", "gst-base/v1_22", "ffi/v1_22", "v1_20"]
|
|
v1_24 = ["gst/v1_24", "gst-base/v1_24", "ffi/v1_24", "v1_22"]
|
|
serde = ["dep:serde", "gst/serde"]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustc-args = ["--cfg", "docsrs"]
|
|
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
|