Commit Graph

2181 Commits

Author SHA1 Message Date
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
John Gallagher
98da52ce8f Merge branch 'err-code' of https://github.com/gwenn/rusqlite into gwenn-err-code 2017-02-06 19:53:31 -05:00
gwenn
bbd6c73daa Rename get_limit to limit
And do not test default limits, only updated ones
2017-02-06 17:43:32 +01:00
John Gallagher
53b85d2ab1 Merge pull request #223 from jgallagher/fix-type-inference-with-newest-serde-json
Add more explicit types in unit tests.
2017-02-05 19:33:40 -05:00
John Gallagher
60e1f3c02f Add more explicit types in unit tests. 2017-02-05 17:30:53 -05:00
gwenn
307431911c Exporting libsqlite3_sys::error::ErrorCode (#218) 2017-02-04 11:33:23 +01:00
gwenn
359ec914d2 Expose limits (#220) 2017-02-04 11:01:38 +01:00
John Gallagher
186da8d9ad Merge pull request #217 from jgallagher/tosqloutput-derive-traits
Derive Clone, Debug, and PartialEq on ToSqlOutput.
2017-01-26 22:27:13 -05:00
John Gallagher
f790835a05 Bump version to 0.9.5 2017-01-26 22:03:34 -05:00
John Gallagher
8054ea4ab8 Derive Clone, Debug, and PartialEq on ToSqlOutput. 2017-01-26 22:02:20 -05:00
John Gallagher
6c8b65119f Merge pull request #216 from jgallagher/upgrade-deps
Upgrade dependencies.
2017-01-25 19:14:05 -05:00
John Gallagher
ba3890d134 Update appveyor rust version 2017-01-25 18:05:29 -05:00
John Gallagher
36c5ed2ceb Upgrade dependencies.
In libsqlite3-sys, skip printing system libraries. See
https://github.com/sfackler/rust-openssl/issues/554#issuecomment-274878088.
2017-01-25 18:01:03 -05:00
John Gallagher
b1ef396ca2 Add to CONTRIBUTORS 2017-01-25 17:40:49 -05:00
John Gallagher
29e276ef9d Merge pull request #215 from reddraggone9/doc_comment_fix
Fix doc comment example of FromSql/ToSql
2017-01-25 17:40:08 -05:00
reddraggone9
57750fe6a6 Fix doc comment example of FromSql/ToSql
Update a doc test so that it compiles on master. Also remove the ignore
directive so that it runs with the rest of the test suite.
2017-01-24 22:57:42 -06:00
John Gallagher
d54aeb9c20 Merge pull request #214 from jgallagher/skip-linking-usr-lib-explicitly
Skip linking /usr/lib explicitly
2017-01-23 20:26:14 -05:00
John Gallagher
9d50a456c4 Bump libsqlite3-sys to 0.6.1 2017-01-23 20:18:08 -05:00
John Gallagher
f130f62b1a Don't ask to link to /usr/lib directly if pkg-config fails to find SQLite. 2017-01-23 20:17:14 -05:00
John Gallagher
2b78e956dc Merge pull request #213 from jgallagher/fix-clippy-warnings
Fix clippy warnings
2017-01-23 20:00:13 -05:00
John Gallagher
06583aadf2 fix clippy warnings 2017-01-23 19:46:49 -05:00
John Gallagher
dec9e76401 Bump to 0.9.3 2017-01-23 19:42:50 -05:00
John Gallagher
aa6c542202 Add impl ToSql for ToSqlOutput. 2017-01-23 19:42:02 -05:00
John Gallagher
354f45cbe2 Merge pull request #210 from jgallagher/check-integer-out-of-range
Check integer ranges in FromSql.
2017-01-22 20:13:03 -05:00
John Gallagher
e180ab15ce Fix incomplete match under functions feature 2017-01-22 20:05:06 -05:00
John Gallagher
7b32713313 Bump to 0.9.2 2017-01-22 19:59:13 -05:00