Commit Graph

1938 Commits

Author SHA1 Message Date
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
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