Commit Graph

699 Commits

Author SHA1 Message Date
John Gallagher
ab1f784b5e Add buildtime_bindgen tests to CI. 2017-03-03 15:47:42 -05:00
John Gallagher
5a4b401965 Update Changelog for 0.10.1. 2017-03-03 15:39:00 -05:00
John Gallagher
ad58fd3fe4 Add build notes to README. 2017-03-03 15:37:45 -05:00
John Gallagher
f0dfab0349 Only check for and require SQLITE3_INCLUDE_DIR if we're running bindgen at buildtime. 2017-03-03 15:37:45 -05:00
John Gallagher
06383c65cb Update build process to use prebuilt bindings.
Adds buildtime_bindgen feature to run bindgen dynamically.
2017-03-03 15:37:45 -05:00
John Gallagher
9510e25ef3 Add prebuilt bindings for all relevant SQLite versions. 2017-03-03 15:37:45 -05:00
John Gallagher
09e3f28935 Merge pull request #246 from gwenn/build-scripts-comments
Add comments in build scripts (#244)
2017-03-03 15:37:34 -05:00
gwenn
a5ff2387fa Add comments in build scripts (#244) 2017-03-03 21:15:54 +01:00
John Gallagher
84d21ecf91 Merge pull request #245 from jgallagher/update-bundled-sqlite
Update bundled SQLite to 3.17.0.
2017-03-03 13:27:49 -05:00
John Gallagher
0a35f4bb1e Version bumps to use new bundled SQLite. 2017-03-03 13:07:27 -05:00
John Gallagher
62eef1c8a0 Update bundled SQLite source to 3.17.0 2017-03-03 13:07:15 -05:00
John Gallagher
321dfff41a Add limits feature to doc-publishing script 2017-02-28 09:56:38 -05:00
John Gallagher
acf612985e Update Changelog with 0.10.0 release date 2017-02-28 09:34:28 -05:00
John Gallagher
e536ce02e8 Merge pull request #239 from gwenn/clippy
Fix clippy warnings
2017-02-28 09:33:21 -05:00
gwenn
faa94d1246 Fix clippy warnings
And fix bench.
2017-02-24 20:10:51 +01:00
John Gallagher
4918fb8f50 Merge pull request #234 from jgallagher/semver-check
Perform a runtime check that the SQLite version isn't older than the one we found at build time.
2017-02-24 10:06:22 -05:00
John Gallagher
39d71810ce Merge branch 'master' into semver-check 2017-02-23 15:36:54 -05:00
John Gallagher
0d8c6ca5d7 Merge pull request #238 from gwenn/categories
Add categories and keywords to libsqlite3-sys
2017-02-23 15:36:10 -05:00
gwenn
aedb681f54 Add categories and keywords to libsqlite3-sys 2017-02-23 21:07:10 +01:00
John Gallagher
6bac06cc49 Merge pull request #237 from sgrif/sg-remove-libc
Remove the dependency on `libc`
2017-02-16 13:25:55 -05:00
Sean Griffin
2c58b3f804 Remove the dependency on libc
Recent versions of bindgen use `std::os::raw` over `libc`, but currently
`libsqlite3-sys` is overriding that. `std::os::raw` is a subset of
`libc` that exports only the relevant type definitions, but not any
functions which require additional linking. This enables
`libsqlite3-sys` to be more easily used on targets that may not have a
libc available (presumably sqlite itself would have been compiled with
musl in that case)
2017-02-16 11:17:24 -05:00
John Gallagher
7a8dfbd555 Add to CONTRIBUTORS 2017-02-11 10:51:29 -05:00
John Gallagher
28f990773c Merge pull request #236 from miedzinski/urlfix
Fix URL Markdown syntax in Connection docs
2017-02-11 10:49:54 -05:00
Dominik Miedziński
1b1573c5b2 Fix URL Markdown syntax in Connection docs 2017-02-11 10:50:13 +01:00
John Gallagher
56eee2c13c Perform a runtime check that the SQLite version isn't older than the one we found at build time. 2017-02-09 20:56:51 -05:00
John Gallagher
7444f7b30a Merge pull request #233 from jgallagher/clarify-old-sqlite-version-support
Clarify support of older SQLite versions.
2017-02-09 20:38:37 -05:00
John Gallagher
358cca1638 Clarify support of older SQLite versions. 2017-02-09 20:23:17 -05:00
John Gallagher
e92a0ef30b Merge pull request #232 from jgallagher/run-bindgen-at-build-time
Run bindgen at build time
2017-02-09 20:18:12 -05:00
John Gallagher
5dbfa2850e Manually insert SQLITE_DETERMINISTIC flag in bindgen output if needed.
See comment in libsqlite3-sys/build.rs for details - adding this flag is
harmless if it's not present in the header, and not having it can break
builds against older SQLite versions.
2017-02-08 21:41:34 -05:00
John Gallagher
644166fa5b Update appveyor.yml 2017-02-08 20:55:29 -05:00
John Gallagher
5f871b9784 Update travis.yml 2017-02-08 20:55:28 -05:00
John Gallagher
396a853720 Add SQLite version requirements to functions and blob features. 2017-02-08 20:55:28 -05:00
John Gallagher
4216671fe6 Update for new bindgen output. 2017-02-08 20:40:30 -05:00
John Gallagher
161ac2bf0a Update libsqlite3-sys to run bindgen at build time 2017-02-08 20:40:30 -05:00
John Gallagher
eb0a320875 Merge pull request #231 from jgallagher/fmt-cleanup
Minor cleanup from rustfmt pass
2017-02-08 19:46:04 -05:00
John Gallagher
e2d2a689f8 Minor cleanup from rustfmt pass 2017-02-08 19:38:50 -05:00
John Gallagher
971d3730b5 Merge pull request #230 from gwenn/rustfmt
rustfmt v0.7.1
2017-02-08 19:33:07 -05:00
John Gallagher
efedd85b97 Merge pull request #229 from gwenn/chrono-0.3
Upgrade to chrono 0.3
2017-02-08 19:29:53 -05:00
gwenn
80f822db28 rustfmt v0.7.1 2017-02-08 21:11:15 +01:00
gwenn
8e8f3b00d5 Upgrade to chrono 0.3 2017-02-08 21:04:47 +01:00
John Gallagher
4a057480c1 Merge pull request #228 from jgallagher/gwenn-limits
Expose limits
2017-02-07 19:58:59 -05:00
John Gallagher
9924660cf4 Add limits feature to README 2017-02-07 19:47:59 -05:00
John Gallagher
01b926c27e Trivial tweaks 2017-02-07 19:43:54 -05:00
John Gallagher
509257dfa8 Merge branch 'limits' of https://github.com/gwenn/rusqlite into gwenn-limits 2017-02-07 19:41:30 -05:00
gwenn
7014dd6260 Oops 2017-02-07 19:52:52 +01:00
gwenn
59111b783d Fix tests with old SQLite version (< 3.8.7) 2017-02-07 18:41:14 +01:00
John Gallagher
0a488e5253 Merge pull request #227 from jgallagher/expose-version-apis
Expose version(), version_number(), and source_id() functions.
2017-02-06 20:43:18 -05:00
John Gallagher
eb099952ac Expose version(), version_number(), and source_id() functions. 2017-02-06 20:23:16 -05:00
John Gallagher
e971f63553 Merge pull request #226 from jgallagher/gwenn-err-code
Exporting libsqlite3_sys::error::ErrorCode
2017-02-06 20:13:34 -05:00
John Gallagher
6428676e53 Add ErrorCode export note to Changelog 2017-02-06 19:59:49 -05:00