summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml1
-rw-r--r--src/lib.rs10
2 files changed, 1 insertions, 10 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6f50a0b0..ef1d01e3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,6 +15,7 @@ repository = "https://github.com/rust-lang/rust-bindgen"
documentation = "https://docs.rs/bindgen"
homepage = "https://rust-lang.github.io/rust-bindgen/"
version = "0.53.2"
+edition = "2018"
build = "build.rs"
include = [
diff --git a/src/lib.rs b/src/lib.rs
index 158f1201..48ceab23 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -17,23 +17,13 @@
#[macro_use]
extern crate bitflags;
-extern crate cexpr;
#[macro_use]
#[allow(unused_extern_crates)]
extern crate cfg_if;
-extern crate clang_sys;
-extern crate lazycell;
-extern crate rustc_hash;
#[macro_use]
extern crate lazy_static;
-extern crate peeking_take_while;
#[macro_use]
extern crate quote;
-extern crate proc_macro2;
-extern crate regex;
-extern crate shlex;
-#[cfg(feature = "which-rustfmt")]
-extern crate which;
#[cfg(feature = "logging")]
#[macro_use]