mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Merge pull request #216 from jgallagher/upgrade-deps
Upgrade dependencies.
This commit is contained in:
commit
6c8b65119f
16
Cargo.toml
16
Cargo.toml
@ -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"
|
||||||
|
@ -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`.
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user