-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from esp-rs/feature/extra-components
Refactor the configuration to use `serde` and the `envy` crate, and allow all build configurations to be specified in the `Cargo.toml`. This is possible by setting the specific option (lowercased) in the `package.metadata.esp-idf-sys` object of the root crate's `Cargo.toml`. The build script gets the metadata by running `cargo metadata` in the workspace directory. If `cargo metadata` does not give a root crate, it can be specified with the `ESP_IDF_SYS_ROOT_CRATE` environment variable. Add support for specifying extra esp-idf components in the `package.metadata.esp-idf-sys.extra_components` array of the root crate's *and* all **direct** dependencies' `Cargo.toml`. Document the new features in the README.
- Loading branch information
Showing
12 changed files
with
1,774 additions
and
899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.