6 releases

0.1.5 Jan 1, 2019
0.1.4 Dec 29, 2018

#20 in #slide

Custom license

13KB
290 lines

slides.rs

Slides engine in rust

Documentation

Crate

Demo

Getting started

Create an empty WASM project:

cargo new --bin example

Add slides dependency to Cargo.toml:

slides = "<latest version from crates.io>"

Add index.html and index.css to ./static directory.

Run engine from main.rs:

use slides::run;
use slides::Story;
use slides::Slide;

fn main() {
    run(
        Story {
            slides: vec!(
                Slide::text("Hello World"),
            )
        }
    );
}

Start project with

cargo web start --auto-reload

Example talks

Full-Stack Web Development in Rust

Dependencies

~4.5MB
~99K SLoC