1 | [package] |
2 | name = "gstreamer" |
3 | version = "0.21.3" |
4 | authors = ["Sebastian Dröge <sebastian@centricular.com>" ] |
5 | categories = ["api-bindings" , "multimedia" ] |
6 | description = "Rust bindings for GStreamer" |
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/" |
12 | keywords = ["gstreamer" , "multimedia" , "audio" , "video" , "gnome" ] |
13 | edition = "2021" |
14 | rust-version = "1.70" |
15 | |
16 | [dependencies] |
17 | cfg-if = "1.0" |
18 | libc = "0.2" |
19 | ffi = { package = "gstreamer-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 | num-integer = { version = "0.1" , default-features = false, features = [] } |
22 | num-rational = { version = "0.4" , default-features = false, features = [] } |
23 | futures-core = "0.3" |
24 | futures-channel = "0.3" |
25 | futures-util = { version = "0.3" , default-features = false } |
26 | muldiv = "1" |
27 | opt-ops = { package = "option-operations" , version = "0.5" } |
28 | serde = { version = "1.0" , optional = true, features = ["derive" ] } |
29 | serde_bytes = { version = "0.11" , optional = true } |
30 | paste = "1.0" |
31 | pretty-hex = "0.4" |
32 | thiserror = "1" |
33 | smallvec = { version = "1.0" , features = ["write" ] } |
34 | itertools = "0.12" |
35 | pin-project-lite = "0.2" |
36 | |
37 | [dev-dependencies] |
38 | ron = "0.8" |
39 | serde_json = "1.0" |
40 | futures-executor = "0.3.1" |
41 | gir-format-check = "0.1" |
42 | |
43 | [features] |
44 | default = [] |
45 | v1_16 = ["ffi/v1_16" ] |
46 | v1_18 = ["ffi/v1_18" , "v1_16" ] |
47 | v1_20 = ["ffi/v1_20" , "v1_18" ] |
48 | v1_22 = ["ffi/v1_22" , "v1_20" ] |
49 | v1_24 = ["ffi/v1_24" , "v1_22" ] |
50 | serde = ["num-rational/serde" , "dep:serde" , "serde_bytes" ] |
51 | |
52 | [package.metadata.docs.rs] |
53 | all-features = true |
54 | rustc-args = ["--cfg" , "docsrs" ] |
55 | rustdoc-args = ["--cfg" , "docsrs" , "--generate-link-to-definition" ] |
56 | |