Make 'nightly' a default feature
This commit is contained in:
parent
133497a4be
commit
fa4a6cfa5a
|
@ -7,4 +7,5 @@ authors = ["Ticki <Ticki@users.noreply.github.com>"]
|
||||||
libc = "0.2.8"
|
libc = "0.2.8"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
default = ["nightly"]
|
||||||
nightly = []
|
nightly = []
|
||||||
|
|
17
README.md
17
README.md
|
@ -17,6 +17,23 @@ Supports Redox, Mac OS X, and Linux (or, in general, ANSI terminals).
|
||||||
Although small breaking changes might happen, I will try my best to avoid them,
|
Although small breaking changes might happen, I will try my best to avoid them,
|
||||||
and this crate can generally be considered stable.
|
and this crate can generally be considered stable.
|
||||||
|
|
||||||
|
## Cargo.toml
|
||||||
|
|
||||||
|
For nightly, add
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[dependencies.termion]
|
||||||
|
git = "https://github.com/ticki/termion"
|
||||||
|
```
|
||||||
|
|
||||||
|
For stable,
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[dependencies.termion]
|
||||||
|
git = "https://github.com/ticki/termion"
|
||||||
|
default-features = false
|
||||||
|
```
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Raw mode.
|
- Raw mode.
|
||||||
|
|
Loading…
Reference in New Issue