# 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 = "2021"
rust-version = "1.83"
name = "gstreamer"
version = "0.24.4"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for GStreamer"
homepage = "https://gstreamer.freedesktop.org"
documentation = "https://gstreamer.freedesktop.org/documentation/rust/stable/latest/docs/gstreamer/"
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 = []
log = ["dep:log"]
serde = [
    "num-rational/serde",
    "dep:serde",
    "serde_bytes",
]
v1_16 = ["gstreamer-sys/v1_16"]
v1_18 = [
    "gstreamer-sys/v1_18",
    "v1_16",
]
v1_20 = [
    "gstreamer-sys/v1_20",
    "v1_18",
]
v1_22 = [
    "gstreamer-sys/v1_22",
    "v1_20",
]
v1_24 = [
    "gstreamer-sys/v1_24",
    "v1_22",
]
v1_26 = [
    "gstreamer-sys/v1_26",
    "v1_24",
]
v1_28 = [
    "gstreamer-sys/v1_28",
    "v1_26",
]

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

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

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

[dependencies.futures-channel]
version = "0.3"

[dependencies.futures-core]
version = "0.3"

[dependencies.futures-util]
version = "0.3"
default-features = false

[dependencies.glib]
version = "0.21"

[dependencies.gstreamer-sys]
version = "0.24"

[dependencies.itertools]
version = "0.14"

[dependencies.kstring]
version = "2.0"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.muldiv]
version = "1"

[dependencies.num-integer]
version = "0.1"
features = []
default-features = false

[dependencies.num-rational]
version = "0.4"
features = []
default-features = false

[dependencies.opt-ops]
version = "0.6"
package = "option-operations"

[dependencies.pastey]
version = "0.2"

[dependencies.pin-project-lite]
version = "0.2"

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

[dependencies.serde_bytes]
version = "0.11"
optional = true

[dependencies.smallvec]
version = "1.0"
features = ["write"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.futures-executor]
version = "0.3.1"

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

[dev-dependencies.ron]
version = "0.12"

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