1[package]
2name = "gstreamer-audio"
3version = "0.21.3"
4authors = ["Sebastian Dröge <sebastian@centricular.com>"]
5categories = ["api-bindings", "multimedia"]
6description = "Rust bindings for GStreamer Audio 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_audio/"
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-audio-sys", path = "sys", version = "0.21" }
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" }
23serde = { version = "1.0", optional = true }
24
25[dev-dependencies]
26itertools = "0.12"
27serde_json = "1.0"
28gir-format-check = "0.1"
29
30[features]
31default = []
32v1_16 = ["gst/v1_16", "gst-base/v1_16", "ffi/v1_16"]
33v1_18 = ["gst/v1_18", "gst-base/v1_18", "ffi/v1_18", "v1_16"]
34v1_20 = ["gst/v1_20", "gst-base/v1_20", "ffi/v1_20", "v1_18"]
35v1_22 = ["gst/v1_22", "gst-base/v1_22", "ffi/v1_22", "v1_20"]
36v1_24 = ["gst/v1_24", "gst-base/v1_24", "ffi/v1_24", "v1_22"]
37serde = ["dep:serde", "gst/serde"]
38
39[package.metadata.docs.rs]
40all-features = true
41rustc-args = ["--cfg", "docsrs"]
42rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
43