# 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.70"
name = "glib"
version = "0.18.5"
authors = ["The gtk-rs Project Developers"]
exclude = ["gir-files/*"]
description = "Rust bindings for the GLib library"
homepage = "https://gtk-rs.org/"
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/"
readme = "README.md"
keywords = [
    "glib",
    "gtk-rs",
    "gnome",
    "GUI",
]
license = "MIT"
repository = "https://github.com/gtk-rs/gtk-rs-core"

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

[lib]
name = "glib"

[[test]]
name = "subclass_compiletest"
required-features = ["compiletests"]

[[bench]]
name = "gstring"
harness = false

[dependencies.bitflags]
version = "2.3"

[dependencies.ffi]
version = "0.18"
package = "glib-sys"

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

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

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

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

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

[dependencies.gio_ffi]
version = "0.18"
optional = true
package = "gio-sys"

[dependencies.glib-macros]
version = "0.18"

[dependencies.gobject_ffi]
version = "0.18"
package = "gobject-sys"

[dependencies.libc]
version = "0.2"

[dependencies.memchr]
version = "2.5.0"

[dependencies.once_cell]
version = "1.0"

[dependencies.rs-log]
version = "0.4"
optional = true
package = "log"

[dependencies.smallvec]
version = "1.0"
features = [
    "union",
    "const_generics",
    "const_new",
]

[dependencies.thiserror]
version = "1"

[dev-dependencies.criterion]
version = "0.5.1"

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

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.trybuild2]
version = "1"

[features]
compiletests = []
default = ["gio"]
gio = ["gio_ffi"]
log = ["rs-log"]
log_macros = ["log"]
v2_58 = [
    "ffi/v2_58",
    "gobject_ffi/v2_58",
]
v2_60 = [
    "v2_58",
    "ffi/v2_60",
]
v2_62 = [
    "v2_60",
    "ffi/v2_62",
    "gobject_ffi/v2_62",
]
v2_64 = [
    "v2_62",
    "ffi/v2_64",
]
v2_66 = [
    "v2_64",
    "ffi/v2_66",
    "gobject_ffi/v2_66",
]
v2_68 = [
    "v2_66",
    "ffi/v2_68",
    "gobject_ffi/v2_68",
]
v2_70 = [
    "v2_68",
    "ffi/v2_70",
    "gobject_ffi/v2_70",
]
v2_72 = [
    "v2_70",
    "ffi/v2_72",
    "gobject_ffi/v2_72",
]
v2_74 = [
    "v2_72",
    "ffi/v2_74",
    "gobject_ffi/v2_74",
]
v2_76 = [
    "v2_74",
    "ffi/v2_76",
    "gobject_ffi/v2_76",
]
v2_78 = [
    "v2_76",
    "ffi/v2_78",
    "gobject_ffi/v2_78",
]
