c2g is both an executable binary that can be run, and a library that can be used in Rust programs.
Assuming you have Rust/Cargo installed, run this command in a terminal:
cargo install c2g
It will make the c2g command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall c2g uninstalls.
c2g
PATH
cargo uninstall c2g
Run this command in a terminal, in your project's directory:
cargo add c2g
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
Cargo.toml
[dependencies]
c2g = "0.9.0"
The c2g library will be automatically available globally. Read the c2g library documentation.
Back to the crate overview.