web-view 0.2.1

Rust bindings for webview, a tiny cross-platform library to render web-based GUIs for desktop applications
Documentation
// #![windows_subsystem = "windows"]

extern crate web_view;

use web_view::*;

fn main() {
	let size = (800, 600);
	let resizable = true;
	let debug = true;
	let init_cb = |_webview| {};
	let frontend_cb = |_webview: &mut _, _arg: &_, _userdata: &mut _| {};
	let userdata = ();
	run(
		"Minimal webview example",
		Content::Url("https://en.m.wikipedia.org/wiki/Main_Page"),
		Some(size),
		resizable,
		debug,
		init_cb,
		frontend_cb,
		userdata
	);
}