Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (36 loc) · 981 Bytes

README.md

File metadata and controls

53 lines (36 loc) · 981 Bytes

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