Uses old Rust 2015
0.1.2 |
|
---|---|
0.1.1 |
|
#57 in #higher-level
38KB
64 lines
CGui Render
"Common GUI Render"
What?
A GUI experiment/library that builds standalone native executables without significant toolchain efforts.
This is built on top of the buffer of pixels provided by cgui
, and extends it's
functionality by providing things like text render objects and input elements.
Layouts (eg flowpanes) are beyond the scope of this project.
Currently from a linux machine you can build a standalone linux64 binary with:
cargo build --release
To build win64, first install the cross
cargo utility with cargo install cross
.
Cross requires Docker to run.
Then add ~/.cargo/bin
to your $PATH
and build a win64 binary:
cross build --release --target x86_64-pc-windows-gnu
Things I will forget
Publish to crates.io:
cargo package
ls -lh target/package/rust-cgui-*.crate
cargo publish
Dependencies
~12MB
~233K SLoC