[[bench]]
harness = false
name = "gstring"
path = "benches/gstring.rs"
[dependencies.bitflags]
version = "2.6"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-core]
default-features = false
version = "0.3"
[dependencies.futures-executor]
version = "0.3"
[dependencies.futures-task]
default-features = false
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.gio-sys]
optional = true
version = "0.20.5"
[dependencies.glib-macros]
version = "0.20.3"
[dependencies.glib-sys]
version = "0.20.5"
[dependencies.gobject-sys]
version = "0.20"
[dependencies.libc]
version = "0.2"
[dependencies.memchr]
version = "2.7.4"
[dependencies.rs-log]
optional = true
package = "log"
version = "0.4"
[dependencies.smallvec]
features = ["union", "const_generics", "const_new"]
version = "1.13"
[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-sys"]
log = ["rs-log"]
log_macros = ["log"]
v2_58 = ["glib-sys/v2_58", "gobject-sys/v2_58"]
v2_60 = ["v2_58", "glib-sys/v2_60"]
v2_62 = ["v2_60", "glib-sys/v2_62", "gobject-sys/v2_62"]
v2_64 = ["v2_62", "glib-sys/v2_64"]
v2_66 = ["v2_64", "glib-sys/v2_66", "gobject-sys/v2_66"]
v2_68 = ["v2_66", "glib-sys/v2_68", "gobject-sys/v2_68"]
v2_70 = ["v2_68", "glib-sys/v2_70", "gobject-sys/v2_70"]
v2_72 = ["v2_70", "glib-sys/v2_72", "gobject-sys/v2_72"]
v2_74 = ["v2_72", "glib-sys/v2_74", "gobject-sys/v2_74"]
v2_76 = ["v2_74", "glib-sys/v2_76", "gobject-sys/v2_76"]
v2_78 = ["v2_76", "glib-sys/v2_78", "gobject-sys/v2_78"]
v2_80 = ["v2_78", "glib-sys/v2_80", "gobject-sys/v2_80"]
v2_82 = ["v2_80", "glib-sys/v2_82", "gobject-sys/v2_82"]
v2_84 = ["v2_82", "glib-sys/v2_84"]
[lib]
name = "glib"
path = "src/lib.rs"
[package]
authors = ["The gtk-rs Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Rust bindings for the GLib library"
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib/"
edition = "2021"
exclude = ["gir-files/*"]
homepage = "https://gtk-rs.org/"
keywords = ["glib", "gtk-rs", "gnome", "GUI"]
license = "MIT"
name = "glib"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk-rs-core"
rust-version = "1.70"
version = "0.20.5"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[[test]]
name = "bridged_logging"
path = "tests/bridged_logging.rs"
[[test]]
name = "check_gir"
path = "tests/check_gir.rs"
[[test]]
name = "clone"
path = "tests/clone.rs"
[[test]]
name = "derive"
path = "tests/derive.rs"
[[test]]
name = "log"
path = "tests/log.rs"
[[test]]
name = "print"
path = "tests/print.rs"
[[test]]
name = "regex_compiletest"
path = "tests/regex_compiletest.rs"
[[test]]
name = "structured_log"
path = "tests/structured_log.rs"
[[test]]
name = "subclass_compiletest"
path = "tests/subclass_compiletest.rs"
required-features = ["compiletests"]
[[test]]
name = "unicollate"
path = "tests/unicollate.rs"
[[test]]
name = "value"
path = "tests/value.rs"