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

edvorg/slides.rs

Repository files navigation

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