Cargo Features

webkit2gtk has no features set by default.

[dependencies]
webkit2gtk = { version = "2.0.1", features = ["v2_2", "v2_4", "v2_6", "v2_8", "v2_10", "v2_12", "v2_14", "v2_16", "v2_18", "v2_20", "v2_22", "v2_24", "v2_26", "v2_28", "v2_30", "v2_32", "v2_34", "v2_36", "v2_38", "v2_40"] }
v2_2 v2_4?

Affects authentication_request::AuthenticationRequestExt.can_save_credentials, authentication_request::AuthenticationRequestExt.cancel, authentication_request::AuthenticationRequestExt.host, authentication_request::AuthenticationRequestExt.port, authentication_request::AuthenticationRequestExt.proposed_credential, authentication_request::AuthenticationRequestExt.realm, authentication_request::AuthenticationRequestExt.scheme, authentication_request::AuthenticationRequestExt.is_for_proxy, authentication_request::AuthenticationRequestExt.is_retry, authentication_request::AuthenticationRequestExt.connect_cancelled, enums::AuthenticationScheme, enums::CredentialPersistence, settings::SettingsExt.enables_accelerated_2d_canvas, settings::SettingsExt.enables_spatial_navigation, settings::SettingsExt.enables_write_console_messages_to_stdout, settings::SettingsExt.set_enable_accelerated_2d_canvas, settings::SettingsExt.set_enable_spatial_navigation, settings::SettingsExt.set_enable_write_console_messages_to_stdout, settings::SettingsExt.connect_enable_accelerated_2d_canvas_notify, settings::SettingsExt.connect_enable_write_console_messages_to_stdout_notify

v2_4 v2_6? = v2_2

Affects enums::ProcessModel, response_policy_decision::ResponsePolicyDecisionExt.is_mime_type_supported, settings::SettingsExt.enables_media_stream, settings::SettingsExt.enables_mediasource, settings::SettingsExt.set_enable_media_stream, settings::SettingsExt.set_enable_mediasource, settings::SettingsExt.set_enable_mock_capture_devices, settings::SettingsExt.connect_enable_media_stream_notify, settings::SettingsExt.connect_enable_mediasource_notify, settings::SettingsExt.connect_enable_spatial_navigation_notify, web_context::WebContextExt.process_model, web_context::WebContextExt.set_process_model, web_context::WebContextExt.set_web_extensions_initialization_user_data, web_context::WebContextExt.connect_initialize_web_extensions

v2_6 v2_8? = v2_4

Enables v2_6 of webkit2gtk-sys

Affects download::DownloadExt.allows_overwrite, download::DownloadExt.set_allow_overwrite, download::DownloadExt.connect_allow_overwrite_notify, enums::UserContentInjectedFrames, enums::UserScriptInjectionTime, enums::UserStyleLevel, navigation_policy_decision::NavigationPolicyDecisionExt.navigation_action, navigation_policy_decision::NavigationPolicyDecisionExt.connect_navigation_action_notify, uri_response::URIResponseExt.http_headers, uri_response::URIResponseExt.connect_http_headers_notify, web_context::WebContextExt.allow_tls_certificate_for_host, web_view::WebViewExt.user_content_manager, web_view::WebViewExt.load_bytes, web_view::WebViewExt.connect_create, web_view::WebViewExt.connect_load_failed_with_tls_errors, web_view::WebViewExt.connect_settings_notify, web_view::WebViewExtManual.new_with_context_and_user_content_manager

v2_8 v2_10? = v2_6

Enables v2_8 of webkit2gtk-sys

Affects color_chooser_request::ColorChooserRequestExt.cancel, color_chooser_request::ColorChooserRequestExt.finish, color_chooser_request::ColorChooserRequestExt.element_rectangle, color_chooser_request::ColorChooserRequestExt.rgba, color_chooser_request::ColorChooserRequestExt.set_rgba, color_chooser_request::ColorChooserRequestExt.connect_finished, color_chooser_request::ColorChooserRequestExt.connect_rgba_notify, context_menu::ContextMenuExt.user_data, context_menu::ContextMenuExt.set_user_data, hit_test_result::HitTestResultExt.context_is_selection, notification::NotificationExt.connect_closed, notification::NotificationExt.connect_body_notify, notification::NotificationExt.connect_id_notify, notification::NotificationExt.connect_title_notify, user_content_manager::UserContentManagerExt.register_script_message_handler, user_content_manager::UserContentManagerExt.unregister_script_message_handler, user_content_manager::UserContentManagerExt.connect_script_message_received, user_media_permission_request::UserMediaPermissionRequestExt.is_for_audio_device, user_media_permission_request::UserMediaPermissionRequestExt.is_for_video_device, user_media_permission_request::UserMediaPermissionRequestExt.connect_is_for_audio_device_notify

v2_10 v2_12? = v2_8

Enables v2_10 of webkit2gtk-sys

Affects editor_state::EditorStateExt.connect_typing_attributes_notify, settings::SettingsExt.allows_file_access_from_file_urls, settings::SettingsExt.set_allow_file_access_from_file_urls, settings::SettingsExt.connect_allow_file_access_from_file_urls_notify, web_context::WebContextExt.web_process_count_limit, web_context::WebContextExt.website_data_manager, web_context::WebContextExt.set_web_process_count_limit, web_view::WebViewExt.execute_editing_command_with_argument, web_view::WebViewExt.editor_state

v2_12 v2_14? = v2_10

Enables v2_12 of webkit2gtk-sys

Affects notification::NotificationExt.clicked, notification::NotificationExt.connect_clicked, uri_request::URIRequestExt.http_method, web_view::WebViewExt.session_state, web_view::WebViewExt.restore_session_state, web_view::WebViewExt.try_close

v2_14 v2_16? = v2_12

Enables v2_14 of webkit2gtk-sys

Affects settings::SettingsExt.allows_universal_access_from_file_urls, settings::SettingsExt.set_allow_universal_access_from_file_urls, settings::SettingsExt.connect_allow_universal_access_from_file_urls_notify

v2_16 v2_18? = v2_14

Enables v2_16 of webkit2gtk-sys

Affects enums::HardwareAccelerationPolicy, enums::NetworkProxyMode, notification::NotificationExt.tag, notification::NotificationExt.connect_tag_notify, print_custom_widget::PrintCustomWidgetExt.connect_apply, print_custom_widget::PrintCustomWidgetExt.connect_update, print_operation::PrintOperationExt.connect_create_custom_widget, settings::SettingsExt.hardware_acceleration_policy, settings::SettingsExt.set_hardware_acceleration_policy, settings::SettingsExt.connect_hardware_acceleration_policy_notify, web_context::WebContextExt.initialize_notification_permissions, web_context::WebContextExt.is_ephemeral, web_context::WebContextExt.connect_initialize_notification_permissions, web_view::WebViewExt.website_data_manager, web_view::WebViewExt.is_ephemeral, website_data_manager::WebsiteDataManagerExt.fetch, website_data_manager::WebsiteDataManagerExt.fetch_future, website_data_manager::WebsiteDataManagerExt.cookie_manager, website_data_manager::WebsiteDataManagerExt.is_ephemeral, web_context::WebContextExtManual.set_network_proxy_settings

v2_18 v2_20? = v2_16

Enables v2_18 of webkit2gtk-sys

Affects automation_session::AutomationSessionExt.connect_create_web_view, context_menu_item::ContextMenuItemExt.gaction, option_menu::OptionMenuExt.connect_close, web_context::WebContextExt.is_automation_allowed, web_context::WebContextExt.set_automation_allowed, web_context::WebContextExt.connect_automation_started, web_view::WebViewExt.is_controlled_by_automation, web_view::WebViewExt.connect_show_option_menu

v2_20 v2_22? = v2_18

Enables v2_20 of webkit2gtk-sys

Affects cookie_manager::CookieManagerExt.add_cookie, cookie_manager::CookieManagerExt.add_cookie_future, cookie_manager::CookieManagerExt.delete_cookie, cookie_manager::CookieManagerExt.delete_cookie_future, cookie_manager::CookieManagerExt.cookies, cookie_manager::CookieManagerExt.cookies_future, editor_state::EditorStateExt.is_copy_available, editor_state::EditorStateExt.is_cut_available, editor_state::EditorStateExt.is_paste_available, editor_state::EditorStateExt.is_redo_available, editor_state::EditorStateExt.is_undo_available, enums::WebProcessTerminationReason, settings::SettingsExt.enables_encrypted_media, settings::SettingsExt.set_enable_encrypted_media, settings::SettingsExt.connect_enable_encrypted_media_notify, web_view::WebViewExt.connect_web_process_terminated

v2_22 v2_24? = v2_20

Enables v2_22 of webkit2gtk-sys

Affects settings::SettingsExt.enables_media_capabilities, settings::SettingsExt.set_enable_media_capabilities, settings::SettingsExt.connect_enable_media_capabilities_notify, user_content_manager::UserContentManagerExt.register_script_message_handler_in_world, user_content_manager::UserContentManagerExt.unregister_script_message_handler_in_world, web_view::WebViewExt.run_javascript_in_world, web_view::WebViewExt.run_javascript_in_world_future

v2_24 v2_26? = v2_22

Enables v2_24 of webkit2gtk-sys

Affects enums::UserContentFilterError, settings::SettingsExt.enables_back_forward_navigation_gestures, settings::SettingsExt.enables_javascript_markup, settings::SettingsExt.enables_mock_capture_devices, settings::SettingsExt.set_enable_back_forward_navigation_gestures, settings::SettingsExt.set_enable_javascript_markup, settings::SettingsExt.connect_enable_back_forward_navigation_gestures_notify, settings::SettingsExt.connect_enable_javascript_markup_notify, settings::SettingsExt.connect_enable_mock_capture_devices_notify, user_content_manager::UserContentManagerExt.remove_all_filters, web_view::WebViewExt.connect_script_dialog

v2_26 v2_28? = v2_24

Enables v2_26 of webkit2gtk-sys

Affects geolocation_manager::GeolocationManagerExt.connect_start, geolocation_manager::GeolocationManagerExt.connect_stop, geolocation_manager::GeolocationManagerExt.connect_enable_high_accuracy_notify, settings::SettingsExt.enables_media, settings::SettingsExt.set_enable_media, settings::SettingsExt.connect_enable_media_notify, user_content_manager::UserContentManagerExt.remove_filter_by_id, web_context::WebContextExt.add_path_to_sandbox, web_context::WebContextExt.geolocation_manager, web_context::WebContextExt.is_sandbox_enabled, web_context::WebContextExt.set_sandbox_enabled, website_data_manager::WebsiteDataManagerExt.hsts_cache_directory

v2_28 v2_30? = v2_26

Enables v2_28 of webkit2gtk-sys

Affects enums::AutomationBrowsingContextPresentation, enums::InputPurpose, enums::UserMessageError, input_method_context::InputMethodContextExt.connect_committed, input_method_context::InputMethodContextExt.connect_delete_surrounding, input_method_context::InputMethodContextExt.connect_preedit_changed, input_method_context::InputMethodContextExt.connect_preedit_finished, input_method_context::InputMethodContextExt.connect_preedit_started, input_method_context::InputMethodContextExt.connect_input_hints_notify, input_method_context::InputMethodContextExt.connect_input_purpose_notify, settings::SettingsExt.allows_top_navigation_to_data_urls, settings::SettingsExt.set_allow_top_navigation_to_data_urls, settings::SettingsExt.connect_allow_top_navigation_to_data_urls_notify, web_context::WebContextExt.send_message_to_all_extensions, web_context::WebContextExt.is_process_swap_on_cross_site_navigation_enabled, web_context::WebContextExt.connect_user_message_received, web_view::WebViewExt.automation_presentation_type, web_view::WebViewExt.input_method_context, web_view::WebViewExt.send_message_to_page, web_view::WebViewExt.send_message_to_page_future

v2_30 v2_32? = v2_28

Enables v2_30 of webkit2gtk-sys

Affects authentication_request::AuthenticationRequestExt.security_origin, authentication_request::AuthenticationRequestExt.set_can_save_credentials, authentication_request::AuthenticationRequestExt.set_proposed_credential, authentication_request::AuthenticationRequestExt.connect_authenticated, enums::AutoplayPolicy, policy_decision::PolicyDecisionExt.use_with_policies, settings::SettingsExt.media_content_types_requiring_hardware_support, settings::SettingsExt.set_media_content_types_requiring_hardware_support, settings::SettingsExt.connect_media_content_types_requiring_hardware_support_notify, web_context::WebContextExt.uses_system_appearance_for_scrollbars, web_context::WebContextExt.set_use_system_appearance_for_scrollbars, web_context::WebContextExt.connect_use_system_appearance_for_scrollbars_notify, web_view::WebViewExt.is_muted, web_view::WebViewExt.website_policies, web_view::WebViewExt.set_is_muted, web_view::WebViewExt.connect_is_muted_notify, website_data_manager::WebsiteDataManagerExt.dom_cache_directory, website_data_manager::WebsiteDataManagerExt.itp_directory, website_data_manager::WebsiteDataManagerExt.is_itp_enabled, website_data_manager::WebsiteDataManagerExt.itp_summary

v2_32 v2_34? = v2_30

Enables v2_32 of webkit2gtk-sys

Affects user_content_manager::UserContentManagerExt.remove_script, user_content_manager::UserContentManagerExt.remove_style_sheet, website_data_manager::WebsiteDataManagerExt.tls_errors_policy, website_data_manager::WebsiteDataManagerExt.set_network_proxy_settings, website_data_manager::WebsiteDataManagerExt.set_tls_errors_policy

v2_34 v2_36? = v2_32

Enables v2_34 of webkit2gtk-sys

Affects authentication_request::AuthenticationRequestExt.certificate_pin_flags, enums::MediaCaptureState, web_view::WebViewExt.camera_capture_state, web_view::WebViewExt.display_capture_state, web_view::WebViewExt.is_web_process_responsive, web_view::WebViewExt.microphone_capture_state, web_view::WebViewExt.set_camera_capture_state, web_view::WebViewExt.set_cors_allowlist, web_view::WebViewExt.set_display_capture_state, web_view::WebViewExt.set_microphone_capture_state, web_view::WebViewExt.terminate_web_process, web_view::WebViewExt.connect_camera_capture_state_notify, web_view::WebViewExt.connect_display_capture_state_notify, web_view::WebViewExt.connect_is_web_process_responsive_notify, web_view::WebViewExt.connect_microphone_capture_state_notify

v2_36 v2_38? = v2_34

Enables v2_36 of webkit2gtk-sys

Affects uri_scheme_request::URISchemeRequestExt.finish_with_response, uri_scheme_request::URISchemeRequestExt.http_headers, uri_scheme_request::URISchemeRequestExt.http_method, uri_scheme_response::URISchemeResponseExt.set_content_type, uri_scheme_response::URISchemeResponseExt.set_http_headers, uri_scheme_response::URISchemeResponseExt.set_status

v2_38 v2_40? = v2_36

Enables v2_38 of webkit2gtk-sys

Affects settings::SettingsExt.enables_webrtc, settings::SettingsExt.set_enable_webrtc, settings::SettingsExt.connect_enable_webrtc_notify, web_context::WebContextExt.time_zone_override, web_view::WebViewExt.default_content_security_policy

v2_40 = v2_38

Enables v2_40 of webkit2gtk-sys

Affects context_menu::ContextMenuExt.event, option_menu::OptionMenuExt.event, response_policy_decision::ResponsePolicyDecisionExt.is_main_frame_main_resource, settings::SettingsExt.is_disable_web_security, settings::SettingsExt.set_disable_web_security, settings::SettingsExt.connect_disable_web_security_notify, uri_scheme_request::URISchemeRequestExt.http_body, user_content_manager::UserContentManagerExt.register_script_message_handler_with_reply, web_view::WebViewExt.call_async_javascript_function, web_view::WebViewExt.call_async_javascript_function_future, web_view::WebViewExt.evaluate_javascript, web_view::WebViewExt.evaluate_javascript_future