forked from M-Labs/libfringe
update README installation section
This commit is contained in:
parent
1aa5ffdcd0
commit
dd69fa563a
|
@ -118,19 +118,18 @@ Windows is not supported (see [explanation](#windows-compatibility) below).
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
libfringe is a [Cargo](https://crates.io) package.
|
libfringe is a [Cargo](https://crates.io) package.
|
||||||
It's not stable software yet, so you'll have to use it as a git dependency.
|
|
||||||
Add this to your `Cargo.toml`:
|
Add this to your `Cargo.toml`:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.fringe]
|
[dependencies.fringe]
|
||||||
git = "https://github.com/edef1c/libfringe.git"
|
version = "1.0.2"
|
||||||
```
|
```
|
||||||
|
|
||||||
To use libfringe on a bare-metal target, add the `no-default-features` key:
|
To use libfringe on a bare-metal target, add the `no-default-features` key:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies.fringe]
|
[dependencies.fringe]
|
||||||
git = "https://github.com/edef1c/libfringe.git"
|
version = "1.0.2"
|
||||||
no-default-features = true
|
no-default-features = true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue