Commit Graph

81 Commits

Author SHA1 Message Date
Oliver Wangler
203bbb6fe2
Update README.md 2020-07-29 11:00:03 +02:00
Nikhil Benesch
b83d22e2b7 Upgrade to time v0.2 and put it behind a feature flag
This also removes the usage of time in the crate's top-level
documentation example, as was done for the README in #625.

Fix #653.
2020-07-24 11:28:19 -07:00
Voodlaz
dbd1e0bb85 Update README.md 2020-05-21 09:08:39 -07:00
Voodlaz
d5ed10f306 Update README.md 2020-05-21 09:08:39 -07:00
Thom Chiovoloni
aabcce9aa6 Add link to gitter channel. Fixes #736 2020-05-19 18:52:54 -07:00
Thom Chiovoloni
b079463bd2 Ignore checked-in generated or external code, and add badges 2020-04-16 01:25:27 -07:00
Thom Chiovoloni
4f19827ee9 Update badges 2020-04-15 21:37:39 -07:00
Thom Chiovoloni
9322b0e881 Update links & copyright statement 2020-04-15 21:37:39 -07:00
Thom Chiovoloni
57749b8dbc Document bundled-full (add contributing section) 2020-04-07 14:43:32 -07:00
Thom Chiovoloni
edceb01747 Remove use of time crate in README.md 2020-03-24 09:44:20 -07:00
gwenn
8ddacbb27c doctest README.md 2020-03-08 15:36:56 +01:00
gwenn
4cf59a8fdb [ci skip] Try to fix github actions script 2020-02-18 20:50:28 +01:00
Thom Chiovoloni
c70d148542 Remove most of the code using feature=bundled as a version check 2020-01-14 08:11:36 -08:00
gwenn
74b1c64761 [ci skip] Prepare release 0.21 2019-12-13 19:17:14 +01:00
gwenn
317abe6155 Update README example 2019-11-01 18:27:56 +01:00
hugecheese
8a11eb5a22
gcc -> cc
The `libsqlite3-sys` package no longer uses the deprecated `gcc` crate.
2019-10-19 14:50:54 -04:00
gwenn
797baf230d [ci skip] Prepare release 0.20
rusqlite 0.20.0
And libsqlite3-sys 0.16.0
2019-07-27 09:48:43 +02:00
gwenn
a52eeb2565 [ci skip] Prepare release 0.19
rusqlite 0.19.0
And libsqlite3-sys 0.15.0
2019-06-26 18:13:41 +02:00
gwenn
9b78f6e3f7 Prepare 0.18.0 release 2019-04-24 18:07:04 +02:00
sbstp
85efa19646
Typo in the README 2019-04-10 20:04:39 -04:00
Simon Bernier St-Pierre
c42175a424 add support for Uuid 2019-04-08 14:19:42 -04:00
gwenn
b24f3c5519
Merge pull request #483 from technic/master
Clarify instruction for building with vcpkg
2019-03-25 20:00:36 +01:00
Alex Maystrenko
4d2f2c0833 Remove note about rebuilding, because env change tracked automatically 2019-03-24 21:24:28 +01:00
gwenn
1013571186 [ci skip] Prepare version 0.17.0 2019-03-10 14:21:29 +01:00
Thom Chiovoloni
5ba6909921 Add optional support for rust-url 2019-03-09 19:16:37 -08:00
gwenn
6d9ae896b5 Do not panic by default
Replace `Row::get` by `Row::get_checked`,
And rename original `Row::get` to `Row::get_unwrap`.
`Stmt::query_map`, `Stmt::query_map_named`, `Stmt::query_row`,
`Conn::query_row` and `Conn::query_row_named` callback parameter must return a `Result`.
2019-02-21 20:48:09 +01:00
technic93
6e8276d1d0
Clarify instruction for building with vcpkg
Mention VCPKGRS_DYNAMIC environment variable.
2019-02-17 12:03:19 +01:00
gwenn
d70286e98a Remove unwrap from examples 2019-02-09 07:16:05 +01:00
gwenn
dbc4eef657
Session extension (#459)
Session extension bindings
2019-01-13 12:46:19 +01:00
gwenn
7619f638a8 [ci skip] Prepare 0.16.0 release 2018-12-16 18:15:58 +01:00
gwenn
1e08729306 [ci skip] Fix README 2018-12-07 22:08:48 +01:00
Vlad-Ștefan Harbuz
2e397aa53d
Update README example.
The code example from the documentation's latest version contains some important updates, such as the usage of `NO_PARAMS`. The README should be updated to reflect this.
2018-10-24 12:22:54 +02:00
gwenn
6acae37f4c
[ci skip] prepare version 0.15.0 2018-10-21 15:45:10 +02:00
Thom Chiovoloni
572471c40f Add a feature for storing i128 as blobs.
This is behind the `i128_blob` feature.

Blobs are stored as 16 byte big-endian values, with their most significant bit
flipped. This is so that sorting, comparison, etc all work properly, even with
negative numbers. This also allows the representation to be stable across
different computers.

It's possible that the `FromSql` implementation should handle the case that the
real value is stored in an integer. I didn't do this, but would be willing to
make the change. I don't think we should store them this way though, since I
don't think users would be able to sort/compare them sanely.

Support for `u128` is not implemented, as comparison with i128 values would work
strangely. This also is consistent with `u64` not being allowed, not that I
think that would be reason enough on it's own.

The `byteorder` crate is used if this feature is flipped, as it's quite small
and implements things more or less optimally. If/when `i128::{to,from}_be_bytes`
gets stabilized (https://github.com/rust-lang/rust/issues/52963), we should
probably use that instead.
2018-10-08 12:22:28 -07:00
gwenn
9db7b2e7af Remove old bindgens
Keep the oldest/default one (3.6.8).
But remove intermediate versions: 3.6.11, 3.7.3, 3.7.4, 3.7.16.
2018-09-04 18:58:17 +02:00
Bo Lu
f1990cab11
Update feature links to latest version 0.14.0
Seems the Optional Features section is still linked to v0.13.0, this PR is to update them to latest version 0.14.0
2018-09-01 23:15:37 +10:00
gwenn
b054daeac2 [ci skip] Update Readme
Add doc badge.
Fix some urls.
2018-08-11 17:51:05 +02:00
gwenn
e1a14011cf [ci skip] Add new features in README 2018-08-11 14:25:10 +02:00
gwenn
94c6865d28 Upgrade SQLite bundled sources to 3.24.0 2018-07-14 07:53:01 +02:00
Hampus Bengtsson
dade8dd80f
README.md – fix link to cargo features docs 2018-06-30 21:28:24 +02:00
gwenn
5bd1bd2c60 Add deps.rs badge 2018-02-17 10:24:18 +01:00
John Gallagher
5f180c5a95 Add sqlcipher feature to README. 2017-11-13 15:59:56 -07:00
gwenn
99ef10d599 Merge remote-tracking branch 'jgallagher/master' into doc-rs 2017-06-09 19:49:57 +02:00
John Gallagher
4956e815cc Merge pull request #282 from mcgoo/vcpkg
document use of vcpkg
2017-05-29 15:09:21 -04:00
Jim McGrath
90731a4b99 document use of vcpkg 2017-05-29 13:58:27 -05:00
Davide Aversa
ffeb450766 Add snippet for enabling bundled features in Readme 2017-05-02 09:36:41 +02:00
John Gallagher
ad58fd3fe4 Add build notes to README. 2017-03-03 15:37:45 -05:00
John Gallagher
358cca1638 Clarify support of older SQLite versions. 2017-02-09 20:23:17 -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
396a853720 Add SQLite version requirements to functions and blob features. 2017-02-08 20:55:28 -05:00