[package]
edition = "2024"
rust-version = "1.92"
name = "gio"
version = "0.22.1"
authors = ["The gtk-rs Project Developers"]
build = false
exclude = ["gir-files/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for the Gio library"
homepage = "https://gtk-rs.org/"
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/gio/"
readme = "README.md"
keywords = [
"glib",
"gio",
"gtk-rs",
"gnome",
]
license = "MIT"
repository = "https://github.com/gtk-rs/gtk-rs-core"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[features]
v2_58 = [
"gio-sys/v2_58",
"glib/v2_58",
]
v2_60 = [
"v2_58",
"gio-sys/v2_60",
"glib/v2_60",
]
v2_62 = [
"v2_60",
"gio-sys/v2_62",
"glib/v2_62",
]
v2_64 = [
"v2_62",
"gio-sys/v2_64",
"glib/v2_64",
]
v2_66 = [
"v2_64",
"gio-sys/v2_66",
"glib/v2_66",
]
v2_68 = [
"v2_66",
"gio-sys/v2_68",
"glib/v2_68",
]
v2_70 = [
"v2_68",
"gio-sys/v2_70",
"glib/v2_70",
]
v2_72 = [
"v2_70",
"gio-sys/v2_72",
"glib/v2_72",
]
v2_74 = [
"v2_72",
"gio-sys/v2_74",
"glib/v2_74",
]
v2_76 = [
"v2_74",
"gio-sys/v2_76",
"glib/v2_76",
]
v2_78 = [
"v2_76",
"gio-sys/v2_78",
"glib/v2_78",
]
v2_80 = [
"v2_78",
"gio-sys/v2_80",
"glib/v2_80",
]
v2_82 = [
"v2_80",
"gio-sys/v2_82",
"glib/v2_82",
]
v2_84 = [
"v2_82",
"gio-sys/v2_84",
"glib/v2_84",
]
v2_86 = [
"v2_84",
"gio-sys/v2_86",
"glib/v2_86",
]
v2_88 = [
"v2_86",
"gio-sys/v2_88",
"glib/v2_88",
]
[lib]
name = "gio"
path = "src/lib.rs"
[[test]]
name = "check_gir"
path = "tests/check_gir.rs"
[[test]]
name = "content_type"
path = "tests/content_type.rs"
[[test]]
name = "dbus_peer"
path = "tests/dbus_peer.rs"
[[test]]
name = "std_io_copy"
path = "tests/std_io_copy.rs"
[dependencies.futures-channel]
version = "0.3"
[dependencies.futures-core]
version = "0.3"
default-features = false
[dependencies.futures-io]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
default-features = false
[dependencies.gio-sys]
version = "0.22.0"
[dependencies.glib]
version = "0.22.0"
features = ["futures"]
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.pin-project-lite]
version = "0.2"
[dependencies.smallvec]
version = "1"
[dev-dependencies.async-channel]
version = "2.5"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.futures-util]
version = "0.3"
features = ["io"]
[dev-dependencies.gir-format-check]
version = "^0.1"
[dev-dependencies.serial_test]
version = "3"