# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.92"
name = "gstreamer-audio"
version = "0.25.2"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for GStreamer Audio library"
homepage = "https://gstreamer.freedesktop.org"
documentation = "https://gstreamer.freedesktop.org/documentation/rust/stable/latest/docs/gstreamer_audio/"
readme = "README.md"
keywords = [
    "gstreamer",
    "multimedia",
    "audio",
    "video",
    "gnome",
]
categories = [
    "api-bindings",
    "multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]

[features]
default = []
serde = [
    "dep:serde",
    "gst/serde",
]
v1_16 = [
    "gst/v1_16",
    "gst-base/v1_16",
    "gstreamer-audio-sys/v1_16",
]
v1_18 = [
    "gst/v1_18",
    "gst-base/v1_18",
    "gstreamer-audio-sys/v1_18",
    "v1_16",
]
v1_20 = [
    "gst/v1_20",
    "gst-base/v1_20",
    "gstreamer-audio-sys/v1_20",
    "v1_18",
]
v1_22 = [
    "gst/v1_22",
    "gst-base/v1_22",
    "gstreamer-audio-sys/v1_22",
    "v1_20",
]
v1_24 = [
    "gst/v1_24",
    "gst-base/v1_24",
    "gstreamer-audio-sys/v1_24",
    "v1_22",
]
v1_26 = [
    "gst/v1_26",
    "gst-base/v1_26",
    "gstreamer-audio-sys/v1_26",
    "v1_24",
]
v1_28 = [
    "gst/v1_28",
    "gst-base/v1_28",
    "gstreamer-audio-sys/v1_28",
    "v1_26",
]
v1_30 = [
    "gst/v1_30",
    "gst-base/v1_30",
    "gstreamer-audio-sys/v1_30",
    "v1_28",
]

[lib]
name = "gstreamer_audio"
path = "src/lib.rs"

[[test]]
name = "check_gir"
path = "tests/check_gir.rs"

[dependencies.cfg-if]
version = "1.0"

[dependencies.glib]
version = "0.22.0"

[dependencies.gst]
version = "0.25.0"
package = "gstreamer"

[dependencies.gst-base]
version = "0.25.0"
package = "gstreamer-base"

[dependencies.gstreamer-audio-sys]
version = "0.25.0"

[dependencies.libc]
version = "0.2"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.smallvec]
version = "1.0"

[dev-dependencies.byte-slice-cast]
version = "1.0"

[dev-dependencies.gir-format-check]
version = "0.1"

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.serde_json]
version = "1.0"
