From 36c5ed2ceb3c70e8470f90c413bb4765d8799574 Mon Sep 17 00:00:00 2001 From: John Gallagher Date: Wed, 25 Jan 2017 18:01:03 -0500 Subject: [PATCH] Upgrade dependencies. In libsqlite3-sys, skip printing system libraries. See https://github.com/sfackler/rust-openssl/issues/554#issuecomment-274878088. --- Cargo.toml | 16 ++++++++-------- Changelog.md | 4 ++++ libsqlite3-sys/Cargo.toml | 8 ++++---- libsqlite3-sys/build.rs | 2 +- 4 files changed, 17 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 242b066..597d2fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rusqlite" -version = "0.9.3" +version = "0.9.4" authors = ["John Gallagher "] description = "Ergonomic wrapper for SQLite" repository = "https://github.com/jgallagher/rusqlite" @@ -26,17 +26,17 @@ trace = [] bundled = ["libsqlite3-sys/bundled"] [dependencies] -time = "~0.1.0" +time = "0.1.0" bitflags = "0.7" lru-cache = "0.1.0" -libc = "~0.2" -chrono = { version = "~0.2", optional = true } -serde_json = { version = "0.8", optional = true } +libc = "0.2" +chrono = { version = "0.2", optional = true } +serde_json = { version = "0.9", optional = true } [dev-dependencies] -tempdir = "~0.3.4" -lazy_static = "~0.2" -regex = "~0.2" +tempdir = "0.3.4" +lazy_static = "0.2" +regex = "0.2" [dependencies.libsqlite3-sys] path = "libsqlite3-sys" diff --git a/Changelog.md b/Changelog.md index cf69389..4c94c5a 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,7 @@ +# Version 0.9.4 (2017-01-25) + +* Update dependencies. + # Version 0.9.3 (2017-01-23) * Make `ToSqlOutput` itself implement `ToSql`. diff --git a/libsqlite3-sys/Cargo.toml b/libsqlite3-sys/Cargo.toml index 9231f56..daba536 100644 --- a/libsqlite3-sys/Cargo.toml +++ b/libsqlite3-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libsqlite3-sys" -version = "0.6.1" +version = "0.6.2" authors = ["John Gallagher "] repository = "https://github.com/jgallagher/rusqlite" description = "Native bindings to the libsqlite3 library" @@ -12,8 +12,8 @@ build = "build.rs" bundled = [] [build-dependencies] -pkg-config = "~0.3" -gcc = "~0.3" +pkg-config = "0.3" +gcc = "0.3" [dependencies] -libc = "~0.2" +libc = "0.2" diff --git a/libsqlite3-sys/build.rs b/libsqlite3-sys/build.rs index 15528d3..28a0b9e 100644 --- a/libsqlite3-sys/build.rs +++ b/libsqlite3-sys/build.rs @@ -13,7 +13,7 @@ fn main() { } Err(_) => { // See if pkg-config can do everything for us. - if !pkg_config::find_library("sqlite3").is_ok() { + if !pkg_config::Config::new().print_system_libs(false).probe("sqlite3").is_ok() { // No env var set and pkg-config couldn't help; just output the link-lib // request and hope that the library exists on the system paths. We used to // output /usr/lib explicitly, but that can introduce other linking problems; see