https://github.com/oil-lang/oil-rs
The fluid part for your engine
https://github.com/oil-lang/oil-rs
oil rust ui
Last synced: over 1 year ago
JSON representation
The fluid part for your engine
- Host: GitHub
- URL: https://github.com/oil-lang/oil-rs
- Owner: oil-lang
- License: mit
- Created: 2015-03-04T19:47:06.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-04T20:21:05.000Z (almost 11 years ago)
- Last Synced: 2025-03-27T16:55:53.592Z (over 1 year ago)
- Topics: oil, rust, ui
- Language: Rust
- Homepage: http://oil-lang.github.io
- Size: 657 KB
- Stars: 16
- Watchers: 3
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oil-rs [](https://travis-ci.org/oil-lang/oil-rs)
Oil is a graphical user interface library for Rust with video games in mind.
It is designed around three languages to describe your user interface:
* A markup language
* A style language
* A dependency description language
Now you've got it right? It definitely looks pretty similar to HTML and CSS.
Of course there's a non goal of redoing a web browser here. That's not the point.
This library's goals are completely different from a web browser engine such as [servo](https://github.com/servo/servo).
The key idea behind familiarity is the ease of learning while bringing *(trying)* the good part
from web development for game development with Rust.
Okay, now a few more things to keep in mind before getting started:
* The library is young and still in its early development stage. Don't expect speed yet.
* A video game in development is currently using Uil, leading the design decisions for Uil.
It essentially means some feature might be set as lower/higher priority because of the main project.
* Contributions are welcomed !
## [Getting-started](http://oil-lang.github.io/#getting-started)
```toml
[dependencies]
oil = "*"
```
For a concrete example, you should have a look at the examples in the `examples/` folder.
## Roadmap
This library does not allow to do many things right now. In the future, you'll have:
* fonts support
* User events such as mouse/key
* Data-bindings
* Animations