Skip to content

Example for combining elm and rust for simple web applications

Notifications You must be signed in to change notification settings

Nervengift/rust-elm-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An example crate for using elm together with a backend written in rust using the iron web framework.

This includes a build.rs script which builds the elm source during cargo build and a main.rs that handles statically serving the generated HTML and routing backend requests.

Simply cargo run it and point your browser to http://localhost:8080

Disclaimer: I'm still learning both rust and elm, so I'll gladly take any advice on how to do stuff better.

About

Example for combining elm and rust for simple web applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published