#webview2 #winapi #com

macro webview2-com-macros

Macros which generate callback implementations for WebView2 COM APIs

7 releases (breaking)

0.8.0 Jul 24, 2024
0.7.0 Apr 11, 2023
0.6.0 May 19, 2022
0.5.0 Dec 22, 2021
0.2.0 Sep 8, 2021

#343 in Windows APIs

Download history 25526/week @ 2024-10-30 27181/week @ 2024-11-06 29938/week @ 2024-11-13 27668/week @ 2024-11-20 31747/week @ 2024-11-27 30040/week @ 2024-12-04 32049/week @ 2024-12-11 26997/week @ 2024-12-18 20198/week @ 2024-12-25 27222/week @ 2025-01-01 31681/week @ 2025-01-08 31004/week @ 2025-01-15 36881/week @ 2025-01-22 35926/week @ 2025-01-29 34541/week @ 2025-02-05 31671/week @ 2025-02-12

144,052 downloads per month
Used in 287 crates (via webview2-com)

MIT license

11KB
215 lines

webview2-com-macros

This crate implements macros which generate callback implementations for WebView2 COM APIs. In turn, it injects references to the #[implement] macro from the Windows crate, along with a lot of boilerplate code to handle varying parameter types.

Getting Started

This crate is only intended for use in webview2-com.

Dependencies

~200–640KB
~15K SLoC