miniblink
Rust safe bindings to miniblink49
It's now under development, not ready for production.
The api in this crate may changed in the future.
use miniblink::{app, webview::WebViewBuilder};
fn main() {
app::bind("hello", |x| format!("Hello, {x}"));
let _webview = WebViewBuilder::default()
.with_html(r#"
Hello, world!
Hello
"#)
.with_visible(true)
.with_on_window_closing_handler(|_| {
std::process::exit(0);
})
.build();
app::run_message_loop();
}