{"id":15898733,"url":"https://github.com/blckngm/webview2","last_synced_at":"2025-10-31T17:30:27.163Z","repository":{"id":47170323,"uuid":"246543778","full_name":"blckngm/webview2","owner":"blckngm","description":"Rust bindings for WebView2","archived":false,"fork":false,"pushed_at":"2024-08-16T22:47:53.000Z","size":6821,"stargazers_count":74,"open_issues_count":3,"forks_count":13,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-07T05:06:59.917Z","etag":null,"topics":["gui","windows"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blckngm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-11T10:38:53.000Z","updated_at":"2024-12-01T15:00:53.000Z","dependencies_parsed_at":"2024-10-28T05:52:00.809Z","dependency_job_id":"0f7c16b0-1ca0-465b-93f1-7a21fd67fa62","html_url":"https://github.com/blckngm/webview2","commit_stats":null,"previous_names":["blckngm/webview2","sopium/webview2"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckngm%2Fwebview2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckngm%2Fwebview2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckngm%2Fwebview2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blckngm%2Fwebview2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blckngm","download_url":"https://codeload.github.com/blckngm/webview2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239217106,"owners_count":19601594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","windows"],"created_at":"2024-10-06T10:08:15.575Z","updated_at":"2025-10-31T17:30:27.104Z","avatar_url":"https://github.com/blckngm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rust bindings for\n[WebView2](https://docs.microsoft.com/en-us/microsoft-edge/hosting/webview2):\n\n\u003e The Microsoft Edge WebView2 control enables you to embed web technologies\n(HTML, CSS, and JavaScript) in your native applications. The WebView2 control\nuses Microsoft Edge (Chromium) as the rendering engine to display the web\ncontent in native applications. With WebView2, you may embed web code in\ndifferent parts of your native application, or build the entire native\napplication within a single WebView. For information on how to start building a\nWebView2 application, see [Get\nStarted](https://docs.microsoft.com/en-us/microsoft-edge/webview2/#getting-started).\n\n# API\n\nThe `webview2` crate contains high-level, idiomatic wrappers for the raw COM\nAPIs, which can be found in the `webview2-sys` crate.\n\nThe API mapping should be quite straightforward.\n\nThe `CreateCoreWebView2EnvironmentWithDetails` function does not have a direct\nequivalent. It is replaced with a nicer `EnvironmentBuilder` API. The\n`GetAvailableCoreWebView2BrowserVersionString` and `CompareBrowserVersions`\nfunctions are also exposed through the builder.\n\n# Runtime\n\nThe Edge browser from beta, dev or canary channels (\u003e= 86.0.622.0) or the\n[Evergreen WebView2\nRuntime](https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution#understand-the-webview2-runtime-and-installer-preview)\nneed to be installed for this to actually work. Or the\n[`build`](struct.EnvironmentBuilder.html#method.build) method will return an\nerror.\n\n# WebView2Loader\n\nA binary library `WebView2Loader` from the WebView2 SDK need to be used, either\nthe DLL `WebView2Loader.dll` or the static library `WebView2LoaderStatic.lib`.\nThis brings some complexities:\n\n* When using the **gnu** toolchain, the static library does not seem to work so\n  the `WebView2Loader.dll` DLL is used. You need to make sure that the DLL can\n  be loaded at runtime, e.g. by **putting it alongside the built exe files**.\n\n* When using the **msvc** toolchain, the static library is used. Make sure you\n  have the **v142** toolset (or **visual studio 2019**), because the static\n  library seem to be built with visual studio 2019 and could not be correctly\n  linked by earlier versions of the visual studio. See [C++ binary compatibility\n  between Visual Studio 2015, 2017, and\n  2019](https://docs.microsoft.com/en-us/cpp/porting/binary-compat-2015-2017?view=vs-2019).\n\n# Examples\n\nSee the `examples` directory, especially the heavily commented `win32` example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblckngm%2Fwebview2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblckngm%2Fwebview2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblckngm%2Fwebview2/lists"}