Cargo Features

rea-rs-low has no features set by default.

[dependencies]
rea-rs-low = { version = "0.1.31", features = ["generate", "generate-stage-one", "generate-stage-two"] }
generate = generate-stage-one, generate-stage-two

Regenerates bindings.rs from C++ header files and right after that reaper.rs and swell.rs from bindings.rs.

generate-stage-one generate? = bindgen, generate-stage-two

Stage 1 runs on Linux only.
After stage 1 has runned, we should run stage 2 as well (because stage 2 depends on the results of stage 1).

generate-stage-two generate? generate-stage-one? = phf, prettyplease, proc-macro2, quote, syn

Stage 2 can run separately.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bindgen build generate-stage-one?

Enables bindgen ^0.52.0

phf build generate-stage-two?

Enables phf ^0.8

proc-macro2 build generate-stage-two?
quote build generate-stage-two?
prettyplease build generate-stage-two?

Enables prettyplease ^0.1.25

syn build generate-stage-two?

Enables syn ^1.0.14