Cargo Features
[dependencies]
glib = { version = "0.20.7", 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", "log", "log_macros", "compiletests", "gio"] }
- default = gio
-
The
gio
feature is set by default wheneverglib
is added without
somewhere in the dependency tree.default-features = false - 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
-
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
-
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_82
-
Affects
constants::TEST_OPTION_NONFATAL_ASSERTIONS
,constants::TEST_OPTION_NO_PRGNAME
… - log log_macros? = rs-log
- log_macros = log
- compiletests
- gio default = gio-sys
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.