mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-10 19:41:04 +00:00
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[package]
|
|
name = "gstreamer-video"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
description = "Rust bindings for GStreamer Video library"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_video/"
|
|
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
|
version.workspace = true
|
|
categories.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
cfg-if = "1.0"
|
|
ffi = { package = "gstreamer-video-sys", path = "sys" }
|
|
glib.workspace = true
|
|
gst.workspace = true
|
|
gst-base.workspace = true
|
|
futures-channel = "0.3"
|
|
serde = { version = "1.0", optional = true, features = ["derive"] }
|
|
thiserror = "1.0.49"
|
|
once_cell = "1"
|
|
|
|
[dev-dependencies]
|
|
itertools = "0.12"
|
|
gst-check.workspace = true
|
|
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"]
|