From fa4a6cfa5a65a6a422beea0bf27d80bfe858feaa Mon Sep 17 00:00:00 2001 From: ticki Date: Sun, 3 Jul 2016 13:27:07 +0200 Subject: [PATCH] Make 'nightly' a default feature --- Cargo.toml | 1 + README.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index eeb2f52..d349638 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,4 +7,5 @@ authors = ["Ticki "] libc = "0.2.8" [features] +default = ["nightly"] nightly = [] diff --git a/README.md b/README.md index dfedfef..a8d6798 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.