I appreciate it's to demo the capacity to compile Rust to js, but that's some really nasty code.
https://github.com/tcr/rust-todomvc/blob/master/src/main.rs
Why put it all in the main? Why define functions as variables? Why .parent().unwrap().parent().unwrap()?