Skip to content

Rust bindings to mininlink49

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

felixmaker/miniblink-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miniblink-rs

Rust bindings to mininlink49

use miniblink::{app, webview::*};

fn main() {
    app::init("mb.dll").unwrap();
    let view = WebView::default();
    view.load_url("https://example.com");
    view.on_close(|_| std::process::exit(0));
    view.show();
    app::run_message_loop();
}

See examples for basic usage.

Notes

This project is now under development, not ready for production.

The crate ./miniblink-sys is generated using bindgen.

The rust safe wrapper ./miniblink is not aimed to provide a complete API set.

For now, the basic api in rust safe wrapper ./miniblink is more stable than the earlier version, but still, may change in the future.

It takes time to wrapper all api, so PRs are welcomed! :D

From 0.3.x, api migrates from wkeXXX to mbXXX.

Credits

https://github.com/weolar/miniblink49 https://github.com/tauri-apps/wry https://github.com/fltk-rs/fltk-rs

License

Apache-2.0/MIT

About

Rust bindings to mininlink49

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published