Cargo Features

[dependencies]
glib = { version = "0.22.0-alpha.3", 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", "v2_82", "v2_84", "v2_86", "v2_88", "log", "log_kv", "log_macros", "compiletests", "gio", "futures"] }
default = futures, gio

These default features are set 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_82? = v2_78

Enables v2_80 of glib-sys and gobject-sys

v2_82 v2_84? = v2_80

Enables v2_82 of glib-sys and gobject-sys

v2_84 v2_86? = v2_82

Enables v2_84 of glib-sys and gobject-sys

Affects constants::TEST_OPTION_NONFATAL_ASSERTIONS, constants::TEST_OPTION_NO_PRGNAME

v2_86 v2_88? = v2_84

Enables v2_86 of glib-sys and gobject-sys

v2_88 = v2_86

Enables v2_88 of glib-sys

log log_kv? log_macros? = rs-log
log_kv = log

Enables kv of log

log_macros = log
compiletests
gio default = futures, gio-sys
futures default gio = futures-channel, futures-core, futures-executor, futures-task, futures-util

Affects functions::spawn_future, functions::spawn_future_local

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.

futures-core futures
futures-task futures
futures-executor futures
futures-channel futures
futures-util futures
rs-log log? log_kv?

Enables log

gio-sys gio