diff --git a/Cargo.toml b/Cargo.toml index 9a3922c..5a37db9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,23 +1,25 @@ [package] -name = "apt-pkg-native" -version = "0.2.1" authors = ["Chris West (Faux) "] - +categories = [ + "api-bindings", + "os", +] description = "Bindings for libapt-pkg" -repository = "https://github.com/FauxFaux/apt-pkg-native-rs" -readme = "README.md" -categories = ["api-bindings", "os"] license = "MIT" +name = "apt-pkg-native" +readme = "README.md" +repository = "https://github.com/FauxFaux/apt-pkg-native-rs" +version = "0.2.1" + +[badges.travis-ci] +repository = "FauxFaux/apt-pkg-native-rs" + +[build-dependencies] +gcc = "0.3.54" [dependencies] lazy_static = "0.2.8" -libc = "0.2.26" +libc = "0.2.30" [dev-dependencies] -itertools = "0.6.0" - -[build-dependencies] -gcc = "0.3.51" - -[badges] -travis-ci = { repository = "FauxFaux/apt-pkg-native-rs" } +itertools = "0.6.2" diff --git a/build.rs b/build.rs index a5c3c85..bd980ac 100644 --- a/build.rs +++ b/build.rs @@ -5,7 +5,7 @@ const SRC: &str = "apt-pkg-c/lib.cpp"; fn main() { println!("cargo:rerun-if-changed={}", SRC); - gcc::Config::new() + gcc::Build::new() .file(SRC) .cpp(true) .flag("-std=gnu++11")