Commit Graph

2162 Commits

Author SHA1 Message Date
John Gallagher
6bd8516511 Roll convenient.rs into statement.rs. 2017-03-08 11:26:25 -05:00
John Gallagher
5bd7cb37c7 Move named_params.rs into statement.rs, greatly reducing the StatementCrateImpl trait size. 2017-03-08 11:20:43 -05:00
John Gallagher
59159fcb25 Rename execute_() to execute_with_bound_parameters(). 2017-03-08 11:11:05 -05:00
John Gallagher
723fc91a09 Minor refactor to avoid needing to expose Statement::decode_result(). 2017-03-08 11:04:22 -05:00
John Gallagher
38c9a4a159 Reorganize: Extract Statement and its impl into its own module. 2017-03-08 10:48:14 -05:00
John Gallagher
7398ffcb4a Merge pull request #247 from jgallagher/no-buildtime-bindgen-by-default
Rework build process to not run bindgen by default
2017-03-03 16:07:12 -05:00
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