Cargo Features

GIO has no features set by default.

[dependencies]
gio = { version = "0.19.2", 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_58 v2_60?

Enables v2_58 of gio-sys and glib

Affects constants::DRIVE_IDENTIFIER_KIND_UNIX_DEVICE, mount_operation::MountOperationExt.is_tcrypt_hidden_volume, mount_operation::MountOperationExt.is_tcrypt_system_volume, mount_operation::MountOperationExt.pim, mount_operation::MountOperationExt.set_is_tcrypt_hidden_volume, mount_operation::MountOperationExt.set_is_tcrypt_system_volume, mount_operation::MountOperationExt.set_pim, mount_operation::MountOperationExt.connect_is_tcrypt_hidden_volume_notify, mount_operation::MountOperationExt.connect_is_tcrypt_system_volume_notify, mount_operation::MountOperationExt.connect_pim_notify, desktop_app_info::DesktopAppInfoExtManual.launch_uris_as_manager_with_fds

v2_60 v2_62? = v2_58

Enables v2_60 of gio-sys and glib

Affects app_info::AppInfoExtManual.launch_uris_async, app_info::AppInfoExtManual.launch_uris_future, application::ApplicationExt.connect_name_lost, constants::FILE_ATTRIBUTE_DOS_IS_MOUNTPOINT, constants::FILE_ATTRIBUTE_DOS_REPARSE_POINT_TAG, enums::PollableReturn, file::FileExt.query_default_handler_async, file::FileExt.query_default_handler_future, functions::content_type_get_mime_dirs, functions::content_type_set_mime_dirs, resolver::ResolverExt.lookup_by_name_with_flags, resolver::ResolverExt.lookup_by_name_with_flags_async, resolver::ResolverExt.lookup_by_name_with_flags_future, tls_backend::TlsBackendExt.set_default_database, tls_connection::TlsConnectionExt.negotiated_protocol, tls_connection::TlsConnectionExt.advertised_protocols, tls_connection::TlsConnectionExt.connect_advertised_protocols_notify, tls_connection::TlsConnectionExt.connect_negotiated_protocol_notify, output_stream::OutputStreamExtManual.writev, output_stream::OutputStreamExtManual.writev_async

v2_62 v2_64? = v2_60

Enables v2_62 of gio-sys and glib

v2_64 v2_66? = v2_62

Enables v2_64 of gio-sys and glib

Affects constants::MEMORY_MONITOR_EXTENSION_POINT_NAME, enums::MemoryMonitorWarningLevel, memory_monitor::MemoryMonitorExt.connect_low_memory_warning

v2_66 v2_68? = v2_64

Enables v2_66 of gio-sys and glib

Affects enums::TlsChannelBindingType, tls_connection::TlsConnectionExtManual.channel_binding_data

v2_68 v2_70? = v2_66

Enables v2_68 of gio-sys and glib

Affects file::FileExt.build_attribute_list_for_copy, functions::dbus_escape_object_path, tls_certificate::TlsCertificateExt.pkcs11_uri, tls_certificate::TlsCertificateExt.private_key_pkcs11_uri

v2_70 v2_72? = v2_68

Enables v2_70 of gio-sys and glib

Affects constants::POWER_PROFILE_MONITOR_EXTENSION_POINT_NAME, enums::TlsProtocolVersion, functions::dbus_is_error_name, power_profile_monitor::PowerProfileMonitorExt.connect_power_saver_enabled_notify, tls_certificate::TlsCertificateExt.dns_names, tls_certificate::TlsCertificateExt.ip_addresses, tls_certificate::TlsCertificateExt.issuer_name, tls_certificate::TlsCertificateExt.not_valid_after, tls_certificate::TlsCertificateExt.not_valid_before, tls_certificate::TlsCertificateExt.subject_name, tls_certificate::TlsCertificateExt.connect_dns_names_notify, tls_certificate::TlsCertificateExt.connect_ip_addresses_notify, tls_certificate::TlsCertificateExt.connect_issuer_name_notify, tls_certificate::TlsCertificateExt.connect_not_valid_after_notify, tls_certificate::TlsCertificateExt.connect_not_valid_before_notify, tls_certificate::TlsCertificateExt.connect_subject_name_notify, tls_connection::TlsConnectionExt.ciphersuite_name, tls_connection::TlsConnectionExt.protocol_version, tls_connection::TlsConnectionExt.connect_ciphersuite_name_notify, tls_connection::TlsConnectionExt.connect_protocol_version_notify

v2_72 v2_74? = v2_70

Enables v2_72 of gio-sys and glib

Affects app_launch_context::AppLaunchContextExt.connect_launch_started, constants::DEBUG_CONTROLLER_EXTENSION_POINT_NAME, debug_controller::DebugControllerExt.connect_debug_enabled_notify, debug_controller_dbus::DebugControllerDBusExt.connect_authorize, dbus_proxy::DBusProxyExtManual.connect_g_signal, file::FileExtManual.move_async, file::FileExtManual.move_future

v2_74 v2_76? = v2_72

Enables v2_74 of gio-sys and glib

Affects constants::FILE_ATTRIBUTE_TIME_ACCESS_NSEC, constants::FILE_ATTRIBUTE_TIME_CHANGED_NSEC, constants::FILE_ATTRIBUTE_TIME_CREATED_NSEC, constants::FILE_ATTRIBUTE_TIME_MODIFIED_NSEC, file::FileExtManual.make_symbolic_link_async, file::FileExtManual.make_symbolic_link_future

v2_76 v2_78? = v2_74

Enables v2_76 of gio-sys and glib

Affects constants::FILE_ATTRIBUTE_THUMBNAILING_FAILED_LARGE, constants::FILE_ATTRIBUTE_THUMBNAILING_FAILED_NORMAL, constants::FILE_ATTRIBUTE_THUMBNAILING_FAILED_XLARGE, constants::FILE_ATTRIBUTE_THUMBNAILING_FAILED_XXLARGE, constants::FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_LARGE, constants::FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_NORMAL, constants::FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XLARGE, constants::FILE_ATTRIBUTE_THUMBNAIL_IS_VALID_XXLARGE, constants::FILE_ATTRIBUTE_THUMBNAIL_PATH_LARGE, constants::FILE_ATTRIBUTE_THUMBNAIL_PATH_NORMAL, constants::FILE_ATTRIBUTE_THUMBNAIL_PATH_XLARGE, constants::FILE_ATTRIBUTE_THUMBNAIL_PATH_XXLARGE

v2_78 v2_80? = v2_76

Enables v2_78 of gio-sys and glib

Affects resolver::ResolverExt.timeout, resolver::ResolverExt.set_timeout, resolver::ResolverExt.connect_timeout_notify

v2_80 = v2_78

Enables v2_80 of gio-sys and glib

Affects application_command_line::ApplicationCommandLineExt.done, application_command_line::ApplicationCommandLineExt.print_literal, application_command_line::ApplicationCommandLineExt.printerr_literal