sciter-rs 0.5.58

Rust bindings for Sciter - Embeddable HTML/CSS/script engine (cross-platform desktop GUI toolkit). Also capable with DirectX / OpenGL.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Sciter sample with archived resources.

extern crate sciter;

fn main() {
  let resources = include_bytes!("archived.rc");

  let mut frame = sciter::WindowBuilder::main_window()
  	.fixed()
  	.with_size((600, 400))
  	.create();

  frame.archive_handler(resources).expect("Invalid archive");

  frame.load_file("this://app/index.htm");
  frame.run_app();
}