Merge pull request #216 from jgallagher/upgrade-deps

Upgrade dependencies.
This commit is contained in:
John Gallagher 2017-01-25 19:14:05 -05:00 committed by GitHub
commit 6c8b65119f
5 changed files with 18 additions and 14 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rusqlite" name = "rusqlite"
version = "0.9.3" version = "0.9.4"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"] authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
description = "Ergonomic wrapper for SQLite" description = "Ergonomic wrapper for SQLite"
repository = "https://github.com/jgallagher/rusqlite" repository = "https://github.com/jgallagher/rusqlite"
@ -26,17 +26,17 @@ trace = []
bundled = ["libsqlite3-sys/bundled"] bundled = ["libsqlite3-sys/bundled"]
[dependencies] [dependencies]
time = "~0.1.0" time = "0.1.0"
bitflags = "0.7" bitflags = "0.7"
lru-cache = "0.1.0" lru-cache = "0.1.0"
libc = "~0.2" libc = "0.2"
chrono = { version = "~0.2", optional = true } chrono = { version = "0.2", optional = true }
serde_json = { version = "0.8", optional = true } serde_json = { version = "0.9", optional = true }
[dev-dependencies] [dev-dependencies]
tempdir = "~0.3.4" tempdir = "0.3.4"
lazy_static = "~0.2" lazy_static = "0.2"
regex = "~0.2" regex = "0.2"
[dependencies.libsqlite3-sys] [dependencies.libsqlite3-sys]
path = "libsqlite3-sys" path = "libsqlite3-sys"

View File

@ -1,3 +1,7 @@
# Version 0.9.4 (2017-01-25)
* Update dependencies.
# Version 0.9.3 (2017-01-23) # Version 0.9.3 (2017-01-23)
* Make `ToSqlOutput` itself implement `ToSql`. * Make `ToSqlOutput` itself implement `ToSql`.

View File

@ -1,5 +1,5 @@
environment: environment:
TARGET: 1.9.0-x86_64-pc-windows-gnu TARGET: 1.14.0-x86_64-pc-windows-gnu
MSYS2_BITS: 64 MSYS2_BITS: 64
install: install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "libsqlite3-sys" name = "libsqlite3-sys"
version = "0.6.1" version = "0.6.2"
authors = ["John Gallagher <jgallagher@bignerdranch.com>"] authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
repository = "https://github.com/jgallagher/rusqlite" repository = "https://github.com/jgallagher/rusqlite"
description = "Native bindings to the libsqlite3 library" description = "Native bindings to the libsqlite3 library"
@ -12,8 +12,8 @@ build = "build.rs"
bundled = [] bundled = []
[build-dependencies] [build-dependencies]
pkg-config = "~0.3" pkg-config = "0.3"
gcc = "~0.3" gcc = "0.3"
[dependencies] [dependencies]
libc = "~0.2" libc = "0.2"

View File

@ -13,7 +13,7 @@ fn main() {
} }
Err(_) => { Err(_) => {
// See if pkg-config can do everything for us. // 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 // 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 // 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 // output /usr/lib explicitly, but that can introduce other linking problems; see