Cargo Features

[dependencies]
glib = { version = "0.19.5", default-features = false, features = ["v2_58", "v2_60", "v2_62", "v2_64", "v2_66", "v2_68", "v2_70", "v2_72", "v2_74", "v2_76", "v2_78", "v2_80", "log", "log_macros", "compiletests", "gio"] }
default = gio

The gio feature is set by default whenever glib is added without default-features = false somewhere in the dependency tree.

v2_58 v2_60?

Enables v2_58 of glib-sys and gobject-sys

Affects functions::language_names_with_category, functions::spawn_async_with_fds

v2_60 v2_62? = v2_58

Enables v2_60 of glib-sys

Affects constants::TEST_OPTION_ISOLATE_DIRS

v2_62 v2_64? = v2_60

Enables v2_62 of glib-sys and gobject-sys

Affects functions::console_charset

v2_64 v2_66? = v2_62

Enables v2_64 of glib-sys

Affects functions::os_info

v2_66 v2_68? = v2_64

Enables v2_66 of glib-sys and gobject-sys

Affects enums::UriError, functions::file_set_contents_full

v2_68 v2_70? = v2_66

Enables v2_68 of glib-sys and gobject-sys

Affects log::log_writer_default_set_use_stderr, log::log_writer_default_would_drop

v2_70 v2_72? = v2_68

Enables v2_70 of glib-sys and gobject-sys

Affects functions::spawn_check_wait_status

v2_72 v2_74? = v2_70

Enables v2_72 of glib-sys and gobject-sys

Affects functions::user_state_dir

v2_74 v2_76? = v2_72

Enables v2_74 of glib-sys and gobject-sys

v2_76 v2_78? = v2_74

Enables v2_76 of glib-sys and gobject-sys

v2_78 v2_80? = v2_76

Enables v2_78 of glib-sys and gobject-sys

v2_80 = v2_78

Enables v2_80 of glib-sys and gobject-sys

log log_macros? = rs-log
log_macros = log
compiletests
gio default = gio_ffi

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rs-log log?

Enables log

gio_ffi gio

Enables gio-sys