cargo upgrade + fix deprecation warning

This commit is contained in:
Chris West (Faux) 2017-09-13 08:28:30 +01:00
parent d13db3450b
commit 6bf783c67b
2 changed files with 17 additions and 15 deletions

View File

@ -1,23 +1,25 @@
[package]
name = "apt-pkg-native"
version = "0.2.1"
authors = ["Chris West (Faux) <git@goeswhere.com>"]
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"

View File

@ -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")