1[package]
2name = "gstreamer-video"
3version = "0.21.2"
4authors = ["Sebastian Dröge <sebastian@centricular.com>"]
5categories = ["api-bindings", "multimedia"]
6description = "Rust bindings for GStreamer Video library"
7repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
8license = "MIT OR Apache-2.0"
9readme = "README.md"
10homepage = "https://gstreamer.freedesktop.org"
11documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_video/"
12keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
13edition = "2021"
14rust-version = "1.70"
15
16[dependencies]
17libc = "0.2"
18cfg-if = "1.0"
19ffi = { package = "gstreamer-video-sys", path = "sys", version = "0.21.2" }
20glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "0.18", version = "0.18" }
21gst = { package = "gstreamer", path = "../gstreamer", version = "0.21" }
22gst-base = { package = "gstreamer-base", path = "../gstreamer-base", version = "0.21" }
23futures-channel = "0.3"
24serde = { version = "1.0", optional = true, features = ["derive"] }
25thiserror = "1.0.49"
26
27[dev-dependencies]
28itertools = "0.11"
29serde_json = "1.0"
30gir-format-check = "0.1"
31
32[features]
33default = []
34v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16"]
35v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"]
36v1_20 = ["gst/v1_20", "gst-base/v1_20", "ffi/v1_20", "v1_18"]
37v1_22 = ["gst/v1_22", "gst-base/v1_22", "ffi/v1_22", "v1_20"]
38v1_24 = ["gst/v1_24", "gst-base/v1_24", "ffi/v1_24", "v1_22"]
39serde = ["dep:serde", "gst/serde"]
40
41[package.metadata.docs.rs]
42all-features = true
43rustc-args = ["--cfg", "docsrs"]
44rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
45