tether 0.2.0

Extremely simple bindings to an OS web view.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![windows_subsystem = "windows"]

extern crate tether;

fn main() {
    tether::builder()
        .html("
            <title>This is a pretty cool window!</title>
            <button onclick=\"tether('Hello, world!')\">Click me!</button>
        ")
        .handler(|_, msg: &str| {
            println!("Received message: {}", msg);
        })
        .start();
}