cargo_gn

Crates.iocargo_gn
lib.rscargo_gn
version0.0.15
sourcesrc
created_at2019-04-02 00:54:55.708302
updated_at2020-01-05 00:26:55.042566
descriptionCargo integration with the GN build system
homepage
repositoryhttps://github.com/denoland/cargo_gn
max_upload_size
id125238
size14,217
Bert Belder (piscisaureus)

documentation

README

Cargo GN integration

Travis Status

https://crates.io/crates/cargo_gn

This package allows Rust users to quickly hook into the GN build system. It provides built-in gn and ninja tools that hook semi-automatically into Cargo's build.rs.

Put the following in your Cargo.toml

[build-dependencies]
cargo_gn = "0.0.13"

Now you should be able to add a .gn file in the root of your project and start using BUILD.gn. See the example directory for a complete example: https://github.com/denoland/cargo_gn/tree/master/example

Use cargo build -vv in order to see ninja output.

Read more about gn here: https://gn.googlesource.com/gn

The GN/Ninja executables are assumed to be "gn" and "ninja" unless $GN and $NINJA environmental variables are set.

Commit count: 52

cargo fmt