Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sindreij/willow
Implementation of the Elm architecture in Rust
https://github.com/sindreij/willow
Last synced: 2 months ago
JSON representation
Implementation of the Elm architecture in Rust
- Host: GitHub
- URL: https://github.com/sindreij/willow
- Owner: sindreij
- License: apache-2.0
- Archived: true
- Created: 2018-10-28T21:10:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T04:00:57.000Z (about 2 years ago)
- Last Synced: 2024-08-01T13:36:24.955Z (5 months ago)
- Language: Rust
- Homepage:
- Size: 1.25 MB
- Stars: 173
- Watchers: 3
- Forks: 5
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-ccamel - sindreij/willow - Implementation of the Elm architecture in Rust (Rust)
README
**This is a tech-demo. Feel free to learn from it and steal the ideas (if you like them), but it's not something that should (or can) be used directly**
# Willow
**Willow** is an experiment to see if it is possible to create a "elm-like" API using Rust.
## Demo / Examples
- Counter [source code](examples/counter/src/app.rs). [Demo](http://sindrejohansen.no/willow/counter/)
- TodoMVC [source code](examples/todomvc/src/app.rs). [Demo](http://sindrejohansen.no/willow/todomvc/)## Quickstart
```sh
cd examples/counter/# See https://github.com/rustwasm/wasm-pack/issues/252
ln -s ../../target target
cargo install wasm-pack
wasm-pack buildcd www/
yarn
yarn start
```## Backstory
[See my blogpost for the how and why I built this.](https://sindrejohansen.no/blog/willow/rust/elm/2018/11/16/willow-elm-in-rust.html)
## License
Licensed under either of these:
- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or
)### Contributing
Unless you explicitly state otherwise, any contribution you intentionally submit
for inclusion in the work, as defined in the Apache-2.0 license, shall be
dual-licensed as above, without any additional terms or conditions.