#millennium #macro #command #handler #context #webview #create

yanked millennium-macros

Macros for the Millennium crate

3 releases

1.0.0-beta.3 Jul 1, 2022
1.0.0-beta.2 Apr 3, 2022
1.0.0-beta.1 Mar 28, 2022

#11 in #millennium


Used in millennium

Apache-2.0 OR MIT

245KB
4.5K SLoC

*Stats are from Tauri and may not be fully accurate.

GitHub Workflow Status Audit Status GitHub commit activity Crates.io Discord


Millennium is a cross-platform webview framework written in Rust. With Millennium, you can design consistent UI that works across all platforms, using HTML, CSS, and JavaScript.

How It Works

You can interact with native code and perform system-level operations, including reading/writing files & networking. It leverages modern operating systems' pre-included webview libraries ( WebKitGTK, WebView2, WebKit) for smaller, faster, more secure, and less resource-heavy applications compared to Electron. A simple Millennium app can be less than 10 MB in size and can be reduced further to less than 2 MB. Millennium apps can launch almost twice as fast as equivalent Electron applications and use as little as 1/4 of the amount of RAM.

Millennium is a fork of Tauri, its official plugins, tao, and wry, with a few added features and changes ✨

The millennium-macros crate

Creates macros for the context, handler, and commands by leveraging the millennium-codegen crate.

Learn more

Join the Discord server!

Dependencies

~9–20MB
~325K SLoC