Explain how to use on bare metal in README.

This commit is contained in:
whitequark 2016-08-19 09:35:49 +00:00 committed by edef
parent f8cf95f686
commit eb247666ba
1 changed files with 8 additions and 0 deletions

View File

@ -122,6 +122,14 @@ Add this to your `Cargo.toml`:
git = "https://github.com/edef1c/libfringe.git" git = "https://github.com/edef1c/libfringe.git"
``` ```
To use libfringe on a bare-metal target, add the `no-default-features` key:
```toml
[dependencies.fringe]
git = "https://github.com/edef1c/libfringe.git"
no-default-features = true
```
### Feature flags ### Feature flags
[Cargo's feature flags]: http://doc.crates.io/manifest.html#the-[features]-section [Cargo's feature flags]: http://doc.crates.io/manifest.html#the-[features]-section