Commit Graph

128 Commits

Author SHA1 Message Date
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
John Gallagher
9924660cf4 Add limits feature to README 2017-02-07 19:47:59 -05:00
John Gallagher
4c8b0ab6dd Merge pull request #181 from gwenn/clippy
Fix clippy warnings
2016-12-31 01:23:40 -05:00
John Gallagher
83b481aade Update Changelog with bundled feature 2016-12-31 01:05:54 -05:00
John Gallagher
ff70f78ff3 Merge branch 'master' of https://github.com/photex/rusqlite into photex-master 2016-12-31 00:55:01 -05:00
John Gallagher
fbdda4ebff Merge pull request #185 from gwenn/link-to-crates.io
Add link to crates.io
2016-12-30 23:49:31 -05:00
Omar Ferrer
5c46dbcb71 Updated README to have document the 'bundled' feature 2016-10-08 01:22:57 -04:00
gwenn
d1fd4a371d Add link to crates.io 2016-10-07 20:14:09 +02:00
gwenn
74db4f3ffa Update doc links to docs.rs 2016-08-29 20:22:58 +02:00
gwenn
8f28ff17b8 Fix rustdoc warnings 2016-08-15 12:41:15 +02:00
gwenn
a7d27098b7 Fix issue #177 2016-07-02 10:22:47 +02:00
John Gallagher
e3b7d9612f Add new features to README. 2016-05-19 20:26:18 -05:00
John Gallagher
a793f8c8c5 Remove scary lifetime-of-rows-may-panic from README.
Closes #119.
2016-02-01 14:30:51 -05:00
John Gallagher
4149389318 Add AppVeyor build status to README 2016-02-01 14:19:51 -05:00
John Gallagher
f8540062f8 Add blob feature to README and Changelog 2015-12-14 16:24:11 -05:00
John Gallagher
38e630f231 Add description of features to README 2015-12-12 16:04:11 -05:00
John Gallagher
ea5cb41bbf Rename SqliteRow -> Row. 2015-12-12 14:11:24 -05:00
John Gallagher
eb60bb3111 Rename SqliteResult -> Result. 2015-12-12 14:06:03 -05:00
John Gallagher
4327a84edb Rename SqliteConnection -> Connection.
Leave old name in as a (deprecated) typealias.
2015-12-12 13:53:34 -05:00
John Gallagher
635616842c Remove 'static requirement on output of closure given to query_map and query_and_then.
The 'static bound was there to prevent callers from being able to save
off the `SqliteRow` handles passed into the closure. This PR changes the
closure to take `&SqliteRow`s instead, which provides the same feature
without restricting the output of the closure.
2015-12-01 10:58:32 -05:00
John Gallagher
f65eadbc83 Update README's recommendation of query_map 2015-05-11 16:46:28 -04:00
Marcus Klaas
51f6c15c6c Slightly adjust the signature of query_map 2015-05-11 16:46:28 -04:00
John Gallagher
dcdb88e374 Update README to point to github pages docs 2015-05-03 21:50:09 -04:00
gentoo90
0b4ea23cc3 Fix example in README.md 2015-04-11 08:53:35 -04:00
Patrick Fernie
58fa5bde2a update to use fmt::{Display,Debug} instead of fmt::{String,Show} 2015-02-03 18:59:58 -05:00
John Gallagher
c044d1df8f s/deriving/derive/ in README 2015-01-07 09:16:28 -05:00
Marcus Klaas
bbfedbb82e fix small error in README; update deprecated method call 2014-12-03 17:14:49 +01:00
John Gallagher
cbba1386f5 Typo s/value/valid/ 2014-11-11 10:36:53 -05:00
John Gallagher
8fa377b36c Remove "semi-safe" term.
Based on comments from [this reddit
thread](http://www.reddit.com/r/rust/comments/2lapta/rusqlite_ergonomic_semisafe_bindings_to_sqlite/).
2014-11-10 12:56:32 -05:00
John Gallagher
18eb318753 Add link to rust-ci docs 2014-11-04 15:36:04 -05:00
John Gallagher
fd29f09c3e Add build status badge to README 2014-11-04 12:48:33 -05:00
John Gallagher
2e32213ac5 Add LICENSE and README 2014-11-04 11:32:06 -05:00