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