Commit Graph

744 Commits

Author SHA1 Message Date
John Gallagher
20de96083a Merge pull request #280 from jgallagher/to-sql-str-u8
Add ToSql impls for str and [u8].
2017-05-29 13:39:35 -04:00
John Gallagher
8c7f7a40a6 Merge pull request #279 from jgallagher/new-deps
Update to bitflags 0.9.
2017-05-29 12:26:05 -04:00
John Gallagher
3827a835ef Add ToSql impls for str and [u8]. 2017-05-29 11:20:52 -04:00
John Gallagher
4623064f4d Update to bitflags 0.9. 2017-05-29 10:52:19 -04:00
John Gallagher
6b360a11c2 Merge pull request #258 from gwenn/constants
Constants
2017-05-29 10:37:26 -04:00
John Gallagher
0c67a342e0 Merge pull request #270 from gwenn/linguist-vendored
Use the linguist-vendored attribute to vendor sqlite3 sources
2017-05-29 10:30:44 -04:00
John Gallagher
b1927b31bf Merge pull request #278 from mcgoo/vcpkg
for msvc abi builds, add support for using sqlite from a vcpkg installation if available
2017-05-29 10:23:08 -04:00
John Gallagher
7e779b04ee Merge pull request #267 from THeK3nger/readme-bundle
Add example for enabling bundled features in Readme
2017-05-29 10:12:39 -04:00
John Gallagher
b7ce75b463 Merge pull request #264 from gwenn/outdated
Upgrade outdated dependencies
2017-05-29 10:11:09 -04:00
John Gallagher
50dcaf44ac Merge pull request #263 from sfackler/master
Set HAVE_USLEEP
2017-05-29 10:08:17 -04:00
John Gallagher
33b7382ae7 Merge pull request #261 from aidanhs/aphs-empty-blob-function
Fix functions for empty blobs
2017-05-29 10:02:22 -04:00
Jim McGrath
b3faed0f75 only depend on vcpkg for cfg(target_env = "msvc") 2017-05-28 06:15:47 -05:00
Jim McGrath
0dd10f85ba for msvc abi builds, add support for using sqlite from a vcpkg installation if available 2017-05-27 22:35:46 -05:00
gwenn
aa97e0620f Use the linguist-vendored attribute to vendor sqlite3 sources 2017-05-08 17:52:39 +02:00
Davide Aversa
ffeb450766 Add snippet for enabling bundled features in Readme 2017-05-02 09:36:41 +02:00
gwenn
e8bc9fcc21 TypeChooser has been renamed to ParseCallbacks 2017-04-27 18:42:10 +02:00
gwenn
30bba4618b Upgrade outdated dependencies
serde 0.9 -> 1.0
bitflags 0.7 -> 0.8
bindgen 0.21 -> 0.23
2017-04-21 19:47:47 +02:00
gwenn
9ea48db46f Some open flags are not available in 3.6.8 2017-04-20 20:59:07 +02:00
gwenn
fba280ff64 Some limits are not available in 3.6.8 2017-04-20 20:33:18 +02:00
Steven Fackler
d4177c5217 Set HAVE_USLEEP
SQLite otherwise has to sleep for a second at a time when waiting for a
lock (!)
2017-04-18 12:37:04 +02:00
Aidan Hobson Sayers
7bd969b8fd Fix functions for empty blobs
Expands fix from #175
2017-04-16 16:49:28 +01:00
gwenn
08f96a678e Rustfmt 2017-04-07 19:43:24 +02:00
gwenn
4e5b64fbca Use constants generated by bindgen where possible 2017-04-07 19:36:31 +02:00
John Gallagher
cd824aeaee Bump to 0.11.0 2017-04-06 14:10:32 -04:00
John Gallagher
87ab8aefc8 Merge pull request #257 from jgallagher/add-sqlite-3-7-16-bindgen
Add bindgen bindings for SQLite 3.7.16 to libsqlite3-sys.
2017-04-06 13:57:37 -04:00
John Gallagher
5a5d28ec69 Add bindgen bindings for SQLite 3.7.16 to libsqlite3-sys.
Bump to version 0.10.3 to use libsqlite3-sys 0.8.0.
2017-04-06 13:42:01 -04:00
John Gallagher
ae9b62b9b3 Merge pull request #256 from jgallagher/version-bump
Bump to 0.10.2.
2017-04-05 15:22:27 -04:00
John Gallagher
893bae1220 Bump to 0.10.2. 2017-04-05 14:34:06 -04:00
John Gallagher
401d1f81e1 Merge pull request #255 from jgallagher/fix-duplicated-constants
Avoid publicly exporting constants from libsqlite3-sys multiple times.
2017-04-05 14:31:31 -04:00
John Gallagher
549373f764 Fix incorrect ffi constant accesses. 2017-04-05 13:58:33 -04:00
John Gallagher
76363cca7e Merge pull request #253 from jgallagher/fix-unused-macro-warning
Fix unused macro warning when compiling tests without `trace` feature.
2017-04-05 13:30:46 -04:00
John Gallagher
61eb843c6b Merge remote-tracking branch 'origin/master' into fix-duplicated-constants 2017-04-05 13:10:48 -04:00
John Gallagher
83d9817905 Merge pull request #254 from jgallagher/add-fromsql-isize
Add FromSql/ToSql impls for isize.
2017-04-05 13:09:26 -04:00
John Gallagher
a13df1e3cd Avoid publicly exporting constants from libsqlite3-sys multiple times. 2017-04-05 13:05:28 -04:00
John Gallagher
4b2a6d2207 Fix unused macro warning when compiling tests without trace feature. 2017-04-05 12:54:58 -04:00
John Gallagher
a1206d5076 Add FromSql/ToSql impls for isize. 2017-04-05 12:52:37 -04:00
John Gallagher
ccf1f61127 Merge pull request #249 from jgallagher/reorganize-extract-row
Reorganize: Extract Row/Rows and helper types into their own mod file.
2017-03-09 09:30:28 -05:00
John Gallagher
ec78a2b5fa Reorganize: Extract Row/Rows and helper types into their own mod files. 2017-03-08 17:03:31 -05:00
John Gallagher
745341716c Merge pull request #248 from jgallagher/reorganize-extract-statement
Reorganize: Move Statement into its own module file
2017-03-08 12:41:34 -05:00
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