diff --git a/Cargo.toml b/Cargo.toml index eeb2f528981c57357c6c7d8db241b4f873d91160..d349638c402866758496bf236ada8ae678a20ab8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,5 @@ authors = ["Ticki <Ticki@users.noreply.github.com>"] libc = "0.2.8" [features] +default = ["nightly"] nightly = [] diff --git a/README.md b/README.md index dfedfef0a2fd662728523ea3d0f068d4f4087083..a8d6798f2eb6b543a52590caa7f07321dd0beda2 100644 --- a/README.md +++ b/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, 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 - Raw mode.