Cargo Features

webkit2gtk5 has no features set by default.

[dependencies]
webkit2gtk5 = { version = "0.3.0", features = ["dox", "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"] }
dox

Enables dox of cairo-rs ^0.17, webkit2gtk5-sys, gdk4 ^0.6, gio ^0.17, glib ^0.17, gtk4 ^0.6, and javascriptcore5-rs

Affects authentication_request::AuthenticationRequestExt.can_save_credentials, authentication_request::AuthenticationRequestExt.cancel, authentication_request::AuthenticationRequestExt.certificate_pin_flags, authentication_request::AuthenticationRequestExt.host, authentication_request::AuthenticationRequestExt.port, authentication_request::AuthenticationRequestExt.proposed_credential, authentication_request::AuthenticationRequestExt.realm, authentication_request::AuthenticationRequestExt.scheme, authentication_request::AuthenticationRequestExt.security_origin, authentication_request::AuthenticationRequestExt.is_for_proxy, authentication_request::AuthenticationRequestExt.is_retry, authentication_request::AuthenticationRequestExt.set_can_save_credentials, authentication_request::AuthenticationRequestExt.set_proposed_credential, authentication_request::AuthenticationRequestExt.connect_authenticated, authentication_request::AuthenticationRequestExt.connect_cancelled, automation_session::AutomationSessionExt.connect_create_web_view, color_chooser_request::ColorChooserRequestExt.cancel, color_chooser_request::ColorChooserRequestExt.finish, color_chooser_request::ColorChooserRequestExt.element_rectangle, color_chooser_request::ColorChooserRequestExt.rgba

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::WebkitSettingsExt.enables_accelerated_2d_canvas, settings::WebkitSettingsExt.enables_spatial_navigation, settings::WebkitSettingsExt.enables_write_console_messages_to_stdout, settings::WebkitSettingsExt.set_enable_accelerated_2d_canvas, settings::WebkitSettingsExt.set_enable_spatial_navigation, settings::WebkitSettingsExt.set_enable_write_console_messages_to_stdout, settings::WebkitSettingsExt.connect_enable_accelerated_2d_canvas_notify, settings::WebkitSettingsExt.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::WebkitSettingsExt.enables_media_stream, settings::WebkitSettingsExt.enables_mediasource, settings::WebkitSettingsExt.set_enable_media_stream, settings::WebkitSettingsExt.set_enable_mediasource, settings::WebkitSettingsExt.set_enable_mock_capture_devices, settings::WebkitSettingsExt.connect_enable_media_stream_notify, settings::WebkitSettingsExt.connect_enable_mediasource_notify, settings::WebkitSettingsExt.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 webkit2gtk5-sys

Affects web_view::WebViewExtManual.new_with_context_and_user_content_manager, 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.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

v2_8 v2_10? = v2_6

Enables v2_8 of webkit2gtk5-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 webkit2gtk5-sys

Affects editor_state::EditorStateExt.connect_typing_attributes_notify, settings::WebkitSettingsExt.allows_file_access_from_file_urls, settings::WebkitSettingsExt.set_allow_file_access_from_file_urls, settings::WebkitSettingsExt.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 webkit2gtk5-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 webkit2gtk5-sys

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

v2_16 v2_18? = v2_14

Enables v2_16 of webkit2gtk5-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::WebkitSettingsExt.hardware_acceleration_policy, settings::WebkitSettingsExt.set_hardware_acceleration_policy, settings::WebkitSettingsExt.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 webkit2gtk5-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 webkit2gtk5-sys

Affects 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::WebkitSettingsExt.enables_encrypted_media, settings::WebkitSettingsExt.set_enable_encrypted_media, settings::WebkitSettingsExt.connect_enable_encrypted_media_notify, web_view::WebViewExt.connect_web_process_terminated

v2_22 v2_24? = v2_20

Enables v2_22 of webkit2gtk5-sys

Affects settings::WebkitSettingsExt.enables_media_capabilities, settings::WebkitSettingsExt.set_enable_media_capabilities, settings::WebkitSettingsExt.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 webkit2gtk5-sys

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

v2_26 v2_28? = v2_24

Enables v2_26 of webkit2gtk5-sys

Affects geolocation_manager::GeolocationManagerExt.connect_start, geolocation_manager::GeolocationManagerExt.connect_stop, geolocation_manager::GeolocationManagerExt.connect_enable_high_accuracy_notify, settings::WebkitSettingsExt.enables_media, settings::WebkitSettingsExt.set_enable_media, settings::WebkitSettingsExt.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 webkit2gtk5-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::WebkitSettingsExt.allows_top_navigation_to_data_urls, settings::WebkitSettingsExt.set_allow_top_navigation_to_data_urls, settings::WebkitSettingsExt.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 webkit2gtk5-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::WebkitSettingsExt.media_content_types_requiring_hardware_support, settings::WebkitSettingsExt.set_media_content_types_requiring_hardware_support, settings::WebkitSettingsExt.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_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, website_data_manager::WebsiteDataManagerExt.itp_summary_future

v2_32 v2_34? = v2_30

Enables v2_32 of webkit2gtk5-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_tls_errors_policy

v2_34 v2_36? = v2_32

Enables v2_34 of webkit2gtk5-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 webkit2gtk5-sys

Affects uri_scheme_request::URISchemeRequestExt.http_method

v2_38 = v2_36

Enables v2_38 of webkit2gtk5-sys

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