dep-expand ========================= [github](https://github.com/mattsse/dep-expand) [crates.io](https://crates.io/crates/dep-expand) [docs.rs](https://docs.rs/dep-expand) [build status](https://github.com/mattsse/dep-expand/actions?query=branch%3Amain) Expand cargo dependencies in `build.rs` # Example **Expand the entire dependency** ```rust let expander = Expander::default(); // get the expanded output let output = expander.expand("").unwrap(); ``` **Expand only a specific module or type or function** ```rust let expander = Expander::default(); // get the expanded output of the given module let output = expander .expand_path( "", "path::to::module".parse().unwrap(), ) .unwrap(); ``` # References * [`cargo-expand`](https://github.com/dtolnay/cargo-expand/) Licensed under either of these: * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0) * MIT license ([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)