summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-04-27 15:38:52 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-04-27 15:38:52 -0400
commit2eac7669ecd3ec97331ac7284a2bdcc20bad3352 (patch)
tree443f66631f443b1a0dfa5bd9242892b3df6a1c2c
parentf0607275b42e4959a22479bd28e327b2b54e2123 (diff)
Upgrade to 2018 edition
-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]