cargo upgrade + fix deprecation warning
This commit is contained in:
parent
d13db3450b
commit
6bf783c67b
30
Cargo.toml
30
Cargo.toml
@ -1,23 +1,25 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "apt-pkg-native"
|
|
||||||
version = "0.2.1"
|
|
||||||
authors = ["Chris West (Faux) <git@goeswhere.com>"]
|
authors = ["Chris West (Faux) <git@goeswhere.com>"]
|
||||||
|
categories = [
|
||||||
|
"api-bindings",
|
||||||
|
"os",
|
||||||
|
]
|
||||||
description = "Bindings for libapt-pkg"
|
description = "Bindings for libapt-pkg"
|
||||||
repository = "https://github.com/FauxFaux/apt-pkg-native-rs"
|
|
||||||
readme = "README.md"
|
|
||||||
categories = ["api-bindings", "os"]
|
|
||||||
license = "MIT"
|
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]
|
[dependencies]
|
||||||
lazy_static = "0.2.8"
|
lazy_static = "0.2.8"
|
||||||
libc = "0.2.26"
|
libc = "0.2.30"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
itertools = "0.6.0"
|
itertools = "0.6.2"
|
||||||
|
|
||||||
[build-dependencies]
|
|
||||||
gcc = "0.3.51"
|
|
||||||
|
|
||||||
[badges]
|
|
||||||
travis-ci = { repository = "FauxFaux/apt-pkg-native-rs" }
|
|
||||||
|
2
build.rs
2
build.rs
@ -5,7 +5,7 @@ const SRC: &str = "apt-pkg-c/lib.cpp";
|
|||||||
fn main() {
|
fn main() {
|
||||||
println!("cargo:rerun-if-changed={}", SRC);
|
println!("cargo:rerun-if-changed={}", SRC);
|
||||||
|
|
||||||
gcc::Config::new()
|
gcc::Build::new()
|
||||||
.file(SRC)
|
.file(SRC)
|
||||||
.cpp(true)
|
.cpp(true)
|
||||||
.flag("-std=gnu++11")
|
.flag("-std=gnu++11")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user