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