Will Davis
9f009fe1e0
Use pkg-config to generate sqlite link dependencies
...
When built as a static library, sqlite (or sqlcipher) doesn't carry
additional link dependencies with it, and the libsqlite3-sys rlib
doesn't pick them up either. A dependent crate attempting to link
against rusqlite then has to specify these additional link commands,
and even then they need to be specified before the libsqlite3-sys
rlib is specified on the command line.
Fix this by attempting to use pkg-config when the
(SQLITE3|SQLCIPHER)_LIB_DIR is specified, since these builds produce
the pkg-config link dependency information, and the pkg_config crate
can automatically generate the correct link commands using that.
(Additionally, since (SQLITE3|SQLCIPHER)_STATIC is already defined,
or not, the --static flag will be correctly configured for pkg_config)
2019-02-04 22:53:57 -06:00
gwenn
62d5ffe678
Fix some enum representation
2019-02-02 11:04:46 +01:00
gwenn
1c3ad27b2f
Upgrade to bindgen 0.47
2019-01-26 10:54:21 +01:00
gwenn
dbc4eef657
Session extension ( #459 )
...
Session extension bindings
2019-01-13 12:46:19 +01:00
gwenn
f9a08d7a5c
Prepare for next release
2019-01-06 09:56:55 +01:00
gwenn
8cf11b18b3
Upgrade to bindgen 0.46
2019-01-06 09:55:56 +01:00
gwenn
6d668d798a
Restore old bindgen for Diesel
2019-01-06 09:50:35 +01:00
gwenn
2c872fc763
Upgrade to bindgen 0.45
2018-12-16 09:53:19 +01:00
gwenn
287e2f5dbc
Fix vtab modules
...
`xShadowName` added
2018-12-15 10:51:02 +01:00
gwenn
ae461b8ed2
Upgrade bundled version to SQLite 3.26.0
2018-12-15 10:19:53 +01:00
Thom Chiovoloni
4fd00a6311
Add support for forcing cargo:rustc-link-lib to link as native
2018-12-14 17:12:31 -08:00
gwenn
d874180333
Rust 2018 idioms
2018-12-07 21:57:04 +01:00
gwenn
626118ce07
Merge remote-tracking branch 'jgallagher/master' into 2018
2018-12-06 18:50:21 +01:00
gwenn
d5ce4c234b
Upgrade to bindgen 0.44
2018-11-30 18:55:25 +01:00
gwenn
f04047db01
Rust 2018
2018-10-30 20:15:08 +01:00
gwenn
e5b1af51ab
Allow build time bindgen of bundled SQLite
...
Rewrite https://github.com/jgallagher/rusqlite/pull/320
2018-10-28 18:16:48 +01:00
gwenn
567e36424b
Upgrade to bindgen 0.43
2018-10-28 08:33:25 +01:00
gwenn
b4f93328f6
[ci skip] prepare version 0.10.0
2018-10-21 15:40:32 +02:00
gwenn
382cac1abb
Try to fix AppVayor build
2018-10-10 20:23:40 +02:00
gwenn
557156fef7
Upgrade bindgen and SQLite bundled sources
2018-10-07 11:57:21 +02:00
gwenn
6f5ffa2f19
Regenerate bindgen on linux
2018-09-17 19:39:49 +02:00
gwenn
fde3a59488
Upgrade bundled version to SQLite 3.25.0
2018-09-17 18:42:19 +02:00
gwenn
27939d01c9
Upgrade to bindgen 0.40
2018-09-08 11:19:24 +02:00
gwenn
33307b8cd5
[ci skip] remove unused feature
2018-09-08 11:11:56 +02:00
gwenn
9db7b2e7af
Remove old bindgens
...
Keep the oldest/default one (3.6.8).
But remove intermediate versions: 3.6.11, 3.7.3, 3.7.4, 3.7.16.
2018-09-04 18:58:17 +02:00
gwenn
6e7b35ae15
Upgrade rust-bindgen version
2018-08-31 19:01:26 +02:00
gwenn
d1b5acfe52
Upgrade to bindgen 0.38
2018-08-15 13:58:04 +02:00
gwenn
0ccf98d214
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-08-11 13:37:56 +02:00
gwenn
c925d1aa97
Rustfmt
2018-08-11 12:48:21 +02:00
gwenn
fc37b324b8
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-07-28 16:56:21 +02:00
gwenn
94c6865d28
Upgrade SQLite bundled sources to 3.24.0
2018-07-14 07:53:01 +02:00
Tom
028d8945a3
Exporting the built library's directory, for linking
2018-06-29 23:20:59 +01:00
gwenn
d72c4582d9
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-06-10 19:16:20 +02:00
gwenn
e1ba89c310
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-06-10 18:49:40 +02:00
gwenn
7369994fd3
Upgrade bindgen version
2018-05-23 18:51:22 +02:00
gwenn
1f0437c084
Merge pull request #344 from gwenn/rerun-if-env-changed
...
Use `rerun-if-env-changed` in libsqlite3-sys
2018-05-12 19:16:50 +02:00
gwenn
1e3dc542a4
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-05-06 08:00:12 +02:00
gwenn
88f2f3e4bd
Merge pull request #350 from jgallagher/clippy
...
Fix clippy warnings
2018-05-04 20:44:34 +02:00
gwenn
994d40da26
Fix clippy warnings
2018-05-04 19:55:55 +02:00
gwenn
fee4bfcc86
Merge remote-tracking branch 'jgallagher/master' into unlock-notify
2018-05-04 18:06:41 +02:00
gwenn
9c5c9e3c7e
Merge remote-tracking branch 'jgallagher/master' into vtab
2018-04-30 22:02:14 +02:00
gwenn
cd26d53a23
Upgrade dependencies
...
bindgen 0.36
lazy_static 1.0
2018-04-27 19:06:34 +02:00
gwenn
9178e3f452
Use rerun-if-env-changed
in libsqlite3-sys
...
Fix #329
2018-04-06 22:27:07 +02:00
gwenn
5d91fb088f
Unlock notification
2018-03-24 08:03:21 +01:00
gwenn
9bdc18d4c0
Fix typo
2018-03-24 03:48:09 +01:00
gwenn
87d97b143e
Fix upgrade script
...
Avoid cleaning the whole target dir
2018-02-10 11:11:51 +01:00
gwenn
08cda05406
Update to latest version of SQLite3 3.22.0 #326
...
Upgrade to bindgen 0.32
Add a shell script to upgrade bundled SQLite version
Upgrade bundle SQLite to 3.22.0
Upgrade libsqlite3-sys version to 0.9.2
2018-02-10 11:04:02 +01:00
gwenn
3aaab1e36f
Merge remote-tracking branch 'remotes/jgallagher/master' into vtab
2018-01-20 12:29:07 +01:00
John Gallagher
402d5340d5
Patch release of libsqlite3-sys to remove crates.io keyword
2017-12-05 18:05:51 -05:00
Sean Griffin
b553a214c8
Remove the database keyword/category from libsqlite3-sys
...
Currently `libsqlite3-sys` is the first result for both the "database"
keyword, and the "Database interfaces" category. This makes sense, as it
is a dependency of both Diesel and rusqlite. However, this library is
not intended to be used directly. While it can technically be called a
database interface, FFI is clearly the category that applies more than
anything else. Someone browsing this keyword or category is likely
looking for a Rust library they can use, not a C one.
2017-12-03 14:22:01 -07:00