Commit Graph

279 Commits

Author SHA1 Message Date
John Gallagher
42643820f6 Merge branch 'doc-rs' of https://github.com/gwenn/rusqlite into gwenn-doc-rs 2017-11-13 15:49:25 -07:00
John Gallagher
cbdbacddd8 Merge branch 'sqlcipher' of https://github.com/lvillani/rusqlite into lvillani-sqlcipher 2017-11-13 13:29:24 -07:00
Lorenzo Villani
8cbfc00ec6 Add support for linking to SQLCipher 2017-10-24 19:52:19 +02:00
Ossi Herrala
28d58529b7 Update dependencies
* Gcc crate has been renamed to cc.
* Chrono::UTC has been renamed to Chrono::Utc.
* bitflags 1.0 uses associated constants. So prefix OpenFlags.
2017-10-09 23:25:40 +03:00
gwenn
c842e789bd Merge remote-tracking branch 'jgallagher/master' into vtab 2017-09-11 19:45:22 +02:00
gwenn
83fb80d346 Docs.rs now supports building non-default features 2017-06-09 20:04:28 +02:00
gwenn
99ef10d599 Merge remote-tracking branch 'jgallagher/master' into doc-rs 2017-06-09 19:49:57 +02:00
John Gallagher
58aca46a3d Bump version to 0.12.0. 2017-05-29 13:42:15 -04:00
John Gallagher
4623064f4d Update to bitflags 0.9. 2017-05-29 10:52:19 -04:00
gwenn
3b575c3b4a Implementation of sqlite3_update_hook #260
First draft (no tested and a memory leak)
2017-04-25 20:58:22 +02:00
gwenn
1d684ae653 Merge remote-tracking branch 'jgallagher/master' into vtab 2017-04-21 20:01:04 +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
John Gallagher
cd824aeaee Bump to 0.11.0 2017-04-06 14:10:32 -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
893bae1220 Bump to 0.10.2. 2017-04-05 14:34:06 -04:00
gwenn
c40b395410 Min SQLite version for vtab is 3.7.7 2017-03-09 19:24:02 +01:00
gwenn
7f0082e44e Merge remote-tracking branch 'jgallagher/master' into vtab 2017-03-08 20:35:07 +01: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
John Gallagher
0a35f4bb1e Version bumps to use new bundled SQLite. 2017-03-03 13:07:27 -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
358cca1638 Clarify support of older SQLite versions. 2017-02-09 20:23:17 -05:00
John Gallagher
4216671fe6 Update for new bindgen output. 2017-02-08 20:40:30 -05:00
gwenn
8e8f3b00d5 Upgrade to chrono 0.3 2017-02-08 21:04:47 +01:00
gwenn
359ec914d2 Expose limits (#220) 2017-02-04 11:01:38 +01:00
John Gallagher
f790835a05 Bump version to 0.9.5 2017-01-26 22:03:34 -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
9d50a456c4 Bump libsqlite3-sys to 0.6.1 2017-01-23 20:18:08 -05:00
John Gallagher
dec9e76401 Bump to 0.9.3 2017-01-23 19:42:50 -05:00
John Gallagher
7b32713313 Bump to 0.9.2 2017-01-22 19:59:13 -05:00
John Gallagher
179be37853 Bump to 0.9.1 for cargo categories 2017-01-20 15:26:38 -05:00
John Gallagher
a346361a25 Merge pull request #208 from jgallagher/cargo-categories-badges
Bump to 0.9.0 and add Cargo category and badges
2017-01-20 15:23:59 -05:00
John Gallagher
ea519c62c8 Bump to 0.9.0 and add Cargo category and badges 2017-01-20 15:16:26 -05:00
gwenn
8b9437ff35 Merge remote-tracking branch 'jgallagher/master' into vtab 2017-01-13 21:43:10 +01:00
gwenn
efaa5e5d00 Upgrade serde, lazy-static and regexp dependencies 2017-01-13 21:16:31 +01:00
gwenn
46df930881 Merge remote-tracking branch 'jgallagher/master' into vtab 2016-12-31 09:15:26 +01:00
John Gallagher
10bfd3d05c Bump version to 0.8.0 2016-12-31 01:25:44 -05:00
John Gallagher
35353eb642 Revert version bump for now 2016-12-31 01:08:24 -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
gwenn
6ef0b1d64c Upgrade lru-cache dependency 2016-12-04 10:17:53 +01:00
gwenn
ffe605150a Ensure cache is flushed when closing the connection
Fix #186
2016-11-04 20:47:28 +01:00
gwenn
b2a524c596 Clean up dependencies version 2016-09-18 13:37:41 +02:00
gwenn
74db4f3ffa Update doc links to docs.rs 2016-08-29 20:22:58 +02:00
gwenn
3b5bd7abab Introduce IndexConstraintOp 2016-08-14 12:26:05 +02:00
gwenn
3f55a4583c Merge remote-tracking branch 'jgallagher/master' into vtab 2016-07-02 11:51:42 +02:00
Chip Collier
dde6e9ee3a Added feature to build a static sqlite from the bundled amalgamation. 2016-06-15 16:34:13 +02:00
John Gallagher
58b7aea4f7 Merge branch 'release-0.7' into merge-0.7.3 2016-06-01 21:31:26 -04:00
John Gallagher
b235b89555 Bump to version 0.7.3. 2016-06-01 21:06:56 -04:00
gwenn
6a4eacc927 Simply use cargo clippy 2016-05-28 11:16:55 +02:00
gwenn
0740620ffe Merge remote-tracking branch 'jgallagher/master' into vtab 2016-05-20 18:31:30 +02:00
John Gallagher
1950158c87 Bump to 0.7.2 2016-05-19 20:38:17 -05:00
John Gallagher
84985dbd84 Bump to 0.7.1 2016-05-19 20:32:57 -05:00
John Gallagher
9379002076 Bump to version 0.7.0.
Also bumps libsqlite3-sys to 0.5.0.
2016-05-19 20:26:18 -05:00
gwenn
1bb177047e Merge remote-tracking branch 'jgallagher/master' into vtab 2016-05-19 21:24:17 +02:00
John Gallagher
d923d8c670 Use a real LruCache instead of a VecDeque. 2016-05-17 13:35:23 -05:00
John Gallagher
ed72da92ef Remove cache feature 2016-05-17 12:01:55 -05:00
John Gallagher
b76196ae1a Merge branch 'master' into gwenn-stmt-cache 2016-05-17 08:54:47 -05:00
gwenn
29373e7d0d Merge remote-tracking branch 'jgallagher/master' into vtab 2016-05-16 22:30:58 +02:00
gwenn
f1e0e10138 Merge remote-tracking branch 'jgallagher/master' into vtab 2016-05-16 18:38:15 +02:00
John Gallagher
f77ae8816d Update to latest bitflags crate.
Closes #139.
2016-05-16 11:36:48 -05:00
gwenn
5541cb06fe Merge remote-tracking branch 'jgallagher/master' into vtab 2016-03-30 18:26:26 +02:00
gwenn
3a7c87b896 Merge remote-tracking branch 'jgallagher/master' into json 2016-03-30 17:58:36 +02:00
John Gallagher
9fb16c46f9 Merge pull request #131 from upsuper/load_extension
Remove load_extension feature from the binding
2016-03-29 16:36:09 -04:00
John Gallagher
2bd54578f5 Update clippy version and address new warnings 2016-03-29 11:54:02 -04:00
gwenn
3c1ce6428a Implement FromSql/ToSql for serde_json Value 2016-02-25 19:06:37 +01:00
gwenn
bdb9823b07 Add From/ToSql impl. for chrono types. 2016-02-22 20:36:49 +01:00
gwenn
0fe1990d34 Fix clippy warnings 2016-02-14 16:11:59 +01:00
Xidorn Quan
d9fffaf797 Remove load_extension feature from the binding 2016-02-13 10:51:24 +08:00
gwenn
933000b57a Partial CSV virtual table implementation. 2016-02-08 18:06:11 +01:00
gwenn
5b62e2dd5f Virtual Table: WIP 2016-01-10 20:56:04 +01:00
Gwenael Treguier
86ffc24bb9 Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache 2015-12-18 20:25:52 +01:00
Gwenael Treguier
109c26fea4 Replace LruCache by VecDeque. 2015-12-17 20:02:49 +01:00
John Gallagher
38cf8d597b Bump to rusqlite 0.6.0 and libsqlite3-sys 0.4.0. 2015-12-17 00:17:44 -05:00
John Gallagher
b241f98920 Add test and check for SQLite being in single-threaded mode 2015-12-16 23:56:21 -05:00
Gwenael Treguier
108b6b6fcd Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache 2015-12-15 21:03:31 +01:00
Gwenael Treguier
d5faf2fab3 Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache 2015-12-13 11:23:54 +01:00
Gwenael Treguier
6f0f121d61 Merge remote-tracking branch 'remotes/jgallagher/master' into blob 2015-12-13 10:53:29 +01:00
John Gallagher
9f5f4ac385 Merge branch 'functions' of https://github.com/gwenn/rusqlite into gwenn-functions
Conflicts:
	Cargo.toml
	src/lib.rs
2015-12-11 11:31:25 -05:00
John Gallagher
e2f8e73635 Initial implementation of the online backup API. 2015-12-09 00:19:59 -05:00
John Gallagher
e71104e6c3 Bump version to 0.5.0 2015-12-08 21:30:44 -05:00
Gwenael Treguier
fe6afe2a94 Merge branch 'master' of https://github.com/jgallagher/rusqlite into functions 2015-12-06 21:33:21 +01:00
Gwenael Treguier
18ff9cf4ca Merge branch 'master' of https://github.com/jgallagher/rusqlite into stmt-cache 2015-12-05 11:58:06 +01:00
Gwenael Treguier
cef1d3285e Merge branch 'master' of https://github.com/jgallagher/rusqlite into blob 2015-12-05 11:11:23 +01:00
John Gallagher
49cb1efe62 Merge branch 'master' into gwenn-trace_extension 2015-12-01 11:13:23 -05:00
Michał Krasnoborski
8e31a64dde Update Cargo.tomls to libc ~0.2 2015-12-01 06:18:44 +00:00
John Gallagher
dbfa6ca31f Change config_log to take a Rust fn instead of an extern "C" fn.
Moves the unit test for config_log out of #[ignore] and into its own
test file since it affects the entire process.
2015-11-30 21:08:39 -05:00
Gwenael Treguier
e052053a79 Merge remote-tracking branch 'jgallagher/master' into stmt-cache 2015-11-11 14:42:08 +01:00
Gwenael Treguier
8bff40b6d6 Merge remote-tracking branch 'jgallagher/master' into trace_extension 2015-11-11 14:28:21 +01:00
John Gallagher
78979c44ee Bump version to 0.4.0 2015-11-03 11:29:02 -05:00
John Gallagher
b41275cbc8 Update Changelog and Cargo.toml to 0.3.1 2015-09-22 10:18:26 -07:00
John Gallagher
c3bc8b594a Bump version to 0.3.0.
Updates Changelog and CONTRIBUTORS for changes in this version.
2015-09-21 10:39:13 -04:00
Gwenael Treguier
b9ab3350ea Add regexp() function implementation 2015-08-09 13:06:23 +02:00
Gwenael Treguier
0a454eed79 Add support to user defined scalar functions 2015-08-09 09:52:53 +02:00
Gwenael Treguier
25de884720 LRU statement cache 2015-08-02 12:07:49 +02:00
gwenn
ef254fdca0 Rename feature to 'trace' 2015-08-01 18:58:04 +02:00
gwenn
1bf12f8150 Feature blob IO. 2015-08-01 18:51:02 +02:00
gwenn
4a7e83f0af Feature sqlite3_{log,trace,profile}. 2015-08-01 17:21:41 +02:00
John Gallagher
e8967388e6 Update Changelog for 0.2.0 2015-07-26 14:00:51 -04:00
John Gallagher
255e5f0b68 Update Changelog for 0.1.0 release 2015-05-11 20:22:56 -04:00
John Gallagher
84fc82f48c Add remaining datatype constaints to libsqlite3-sys 2015-05-04 21:44:05 -04:00
John Gallagher
98e7994251 Merge pull request #35 from marcusklaas/as-path
Change path parameter type to &AsRef<Path>
2015-05-04 19:55:19 -04:00
John Gallagher
55c173a465 Merge branch 'stable' into 'master' 2015-05-04 19:52:10 -04:00
Marcus Klaas
71c906c0cb Update crate documentation link 2015-05-04 21:24:58 +02:00
Marcus Klaas
debb717aa4 Change path parameter type to &AsRef<Path> 2015-05-04 21:22:11 +02:00
John Gallagher
231a176414 Bump version 2015-04-03 14:50:17 -05:00
John Gallagher
5e04b98840 Updates to track rustc nightly 2015-04-03 08:32:11 -05:00
John Gallagher
bf6d44e501 Bump version 2015-03-29 12:52:05 -04:00
John Gallagher
4b085b9103 Bump version and use libc from crates.io 2015-03-28 23:09:21 -04:00
John Gallagher
2461654861 Use new hyphen-less extern crate name 2015-03-26 15:49:13 -04:00
John Gallagher
08dd0b6c97 Bump cargo version 2015-03-24 12:14:03 -04:00
Marcus Klaas
f30ceffa6c bump version 2015-03-12 21:33:29 +01:00
John Gallagher
9db251e25b Correct Cargo.toml for publishing 2015-02-23 21:54:46 -05:00
John Gallagher
baa6f87046 Bump version to 0.0.10 2015-02-23 21:50:10 -05:00
John Gallagher
348f94e109 Add public API for loading extensions 2015-02-23 20:37:55 -05:00
John Gallagher
03f368c4f4 Build raw sqlite interface as libsqlite3-sys
Use pkg-config to find it.
2015-02-23 20:37:55 -05:00
John Gallagher
31ea62a176 Bump version to 0.0.9 2015-02-13 15:49:16 -05:00
John Gallagher
4ca7b4964f Bump version to 0.0.8 2015-02-04 10:54:04 -05:00
John Gallagher
88d0566010 Bump version to 0.0.7 2015-01-20 10:04:27 -05:00
John Gallagher
1f245df165 Use bitflags from crates.io 2015-01-20 10:03:09 -05:00
John Gallagher
f84d96aab3 Bump version to 0.0.6 2015-01-10 21:21:08 -06:00
John Gallagher
39d34c6ba8 Bump to version 0.0.5 2015-01-07 09:18:49 -05:00
John Gallagher
f6884cc097 Bump version to 0.0.4 2015-01-05 11:21:47 -05:00
John Gallagher
85ebbda885 Bump version to 0.0.3 2014-12-23 12:27:09 -05:00
John Gallagher
4baa3ddfbc Bump to version 0.0.2 2014-12-04 10:47:59 -05:00
John Gallagher
67dcaedad4 Update to latest version of time crate 2014-12-04 10:47:46 -05:00
John Gallagher
659a57cf66 Use time from crates.io instead of github 2014-11-21 09:52:44 -05:00
John Gallagher
315f210ca5 Add more metadata 2014-11-21 09:48:57 -05:00
John Gallagher
fb245d12b7 Bump version to 0.0.1 2014-11-21 09:41:20 -05:00
John Gallagher
4667a410af Add dependency on time (no longer in std) 2014-11-14 15:02:27 -05:00
John Gallagher
ca3a0f0580 Initial commit 2014-10-19 19:56:41 -04:00