Skip to content

Commit

Permalink
Revert "upgrade to 2018 edition"
Browse files Browse the repository at this point in the history
This reverts commit cedd88a.
  • Loading branch information
softprops committed Jul 16, 2019
1 parent 64920de commit 31db48a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ keywords = ["terminal", "tty", "isatty"]
license = "MIT"
readme = "README.md"
exclude = ["/.travis.yml", "/appveyor.yml"]
edition = "2018"

[badges]
travis-ci = { repository = "softprops/atty" }
Expand Down
2 changes: 2 additions & 0 deletions examples/atty.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
extern crate atty;

use atty::{is, Stream};

fn main() {
Expand Down
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@

#![cfg_attr(unix, no_std)]

#[cfg(unix)]
extern crate libc;
#[cfg(windows)]
extern crate winapi;

#[cfg(windows)]
use winapi::shared::minwindef::DWORD;
#[cfg(windows)]
Expand Down

0 comments on commit 31db48a

Please sign in to comment.