gwenn
7c5bfb7cc3
Merge pull request #475 from gwenn/db-config
...
Support for sqlite3_db_config #468
2019-02-08 21:38:01 +01:00
gwenn
82a78cc8cf
Merge pull request #479 from wilada/fix-libsqlite3-sys-link-dependencies
...
Use pkg-config to generate sqlite link dependencies
2019-02-05 19:06:29 +01:00
Will Davis
9f009fe1e0
Use pkg-config to generate sqlite link dependencies
...
When built as a static library, sqlite (or sqlcipher) doesn't carry
additional link dependencies with it, and the libsqlite3-sys rlib
doesn't pick them up either. A dependent crate attempting to link
against rusqlite then has to specify these additional link commands,
and even then they need to be specified before the libsqlite3-sys
rlib is specified on the command line.
Fix this by attempting to use pkg-config when the
(SQLITE3|SQLCIPHER)_LIB_DIR is specified, since these builds produce
the pkg-config link dependency information, and the pkg_config crate
can automatically generate the correct link commands using that.
(Additionally, since (SQLITE3|SQLCIPHER)_STATIC is already defined,
or not, the --static flag will be correctly configured for pkg_config)
2019-02-04 22:53:57 -06:00
gwenn
df493bb217
Merge pull request #477 from gwenn/lifetime-elision
...
Lifetime elision in impl
2019-02-03 11:26:31 +01:00
gwenn
e9896a7734
Lifetime elision in impl
2019-02-03 11:02:38 +01:00
gwenn
519ef9dc84
Fix rustdoc warnings
2019-02-02 15:18:11 +01:00
gwenn
176e4c232b
Support for sqlite3_db_config #468
2019-02-02 15:17:20 +01:00
gwenn
2f965fec5a
Merge pull request #474 from gwenn/move-inner
...
Move InnerConnection in its own module
2019-02-02 13:10:19 +01:00
gwenn
c2614b54df
Move InnerConnection in its own module
2019-02-02 12:46:52 +01:00
gwenn
08e51e69cf
Merge pull request #473 from gwenn/misc
...
Misc
2019-02-02 12:44:50 +01:00
gwenn
8862b17340
Fix clippy warnings
2019-02-02 11:37:26 +01:00
gwenn
f695f185c2
Fix/suppress warning 'deprecated'
2019-02-02 11:10:58 +01:00
gwenn
20fed1956e
Rename some static variables
2019-02-02 11:10:08 +01:00
gwenn
be98290bbd
Replace assert! by assert_eq!
2019-02-02 11:09:00 +01:00
gwenn
4c4578851b
Remove needless lifetimes
2019-02-02 11:08:04 +01:00
gwenn
62d5ffe678
Fix some enum representation
2019-02-02 11:04:46 +01:00
gwenn
f9099ba02b
Add workspace declaration
2019-02-02 11:00:12 +01:00
gwenn
28d57b81f3
Merge pull request #472 from gwenn/clean-examples
...
Clean examples
2019-01-30 20:37:34 +01:00
gwenn
0a46a34e3d
Clean examples
...
Remove `extern crate` usages.
Rustfmt.
2019-01-30 20:14:46 +01:00
gwenn
dbc48fcde9
Merge pull request #470 from rainhead/master
...
Derive Debug for Transaction
2019-01-30 19:08:53 +01:00
gwenn
6e0b1e2751
Merge pull request #471 from thomcc/params-macro
...
Add params/named_params macro, and expose ToSql from top level
2019-01-30 18:35:41 +01:00
gwenn
ee04d3c5ee
Merge pull request #469 from thomcc/pub-ffi
...
Make the `libsqlite3_sys as ffi` export `pub`
2019-01-30 18:33:31 +01:00
Thom Chiovoloni
d7c8d43fb4
Add params/named_params macro, and expose ToSql from top level
2019-01-29 15:33:57 -08:00
Thom Chiovoloni
ef757240c1
Use rusqlite::ffi instead of extern crate libsqlite3_sys
2019-01-29 14:59:41 -08:00
Peter Abrahamsen
a160f360d0
Test that Transaction can be removed from an Rc
2019-01-29 11:01:09 -08:00
Peter Abrahamsen
65c6bff73b
Derive Debug for Transaction
2019-01-26 21:29:42 -08:00
Thom Chiovoloni
9478c490fb
Make the libsqlite3_sys as ffi
export pub
2019-01-26 14:30:27 -08:00
gwenn
18b8c390ab
Merge pull request #467 from gwenn/changes
...
Expose sqlite3_changes()
2019-01-26 11:40:24 +01:00
gwenn
073aff493d
Merge pull request #466 from gwenn/bindgen
...
Upgrade to bindgen 0.47
2019-01-26 11:10:20 +01:00
gwenn
4be7900bab
Rustfmt
2019-01-26 11:02:34 +01:00
gwenn
e4c1f541ae
Expose sqlite3_changes() #460
2019-01-26 11:01:51 +01:00
gwenn
94d5fe55c8
Cargo fix
2019-01-26 10:55:14 +01:00
gwenn
1c3ad27b2f
Upgrade to bindgen 0.47
2019-01-26 10:54:21 +01:00
gwenn
36846387be
Merge pull request #463 from thomcc/safe-get-aux
...
Make get_aux safe by storing the TypeId with the data.
2019-01-26 10:28:51 +01:00
gwenn
b7d1e7e4ac
Merge pull request #456 from gwenn/from_handle
...
Introduce Connection::from_handle
2019-01-26 10:26:22 +01:00
gwenn
274ea8aec5
Merge remote-tracking branch 'jgallagher/master' into from_handle
2019-01-26 09:59:00 +01:00
Thom Chiovoloni
b6539a0fbf
Make get_aux safe by storing the TypeId
2019-01-26 00:52:50 -08:00
gwenn
2ae8044c20
Merge pull request #465 from gwenn/params
...
Test parameters binding
2019-01-26 08:47:11 +01:00
gwenn
2603cce5db
Rustfmt
2019-01-26 08:17:45 +01:00
gwenn
9b973d01b1
Test parameters binding
2019-01-26 08:17:23 +01:00
gwenn
a1654e7ee9
Merge pull request #464 from thomcc/stmt-status
...
Add support for querying sqlite_stmt_status
2019-01-25 18:21:45 +01:00
Thom Chiovoloni
ec879337af
Add support for querying sqlite_stmt_status
2019-01-24 21:43:39 -08:00
gwenn
6d1c915c2b
Merge pull request #461 from gwenn/fix_session
...
Fix unused imports in context and session tests
2019-01-20 20:11:59 +01:00
gwenn
35e319a62a
Fix unused imports in context and session tests
2019-01-20 19:41:33 +01:00
gwenn
dbc4eef657
Session extension ( #459 )
...
Session extension bindings
2019-01-13 12:46:19 +01:00
gwenn
92a22b7842
sqlite3_db_filename is available in SQLite >= 3.7.10
2019-01-06 14:01:17 +01:00
gwenn
0042f2514f
Introduce Connection::from_handle
2019-01-06 12:58:46 +01:00
gwenn
f6a4feecea
Merge pull request #455 from gwenn/3.7.16
...
Restore old bindgen for Diesel
2019-01-06 10:16:42 +01:00
gwenn
c28795e7b8
Upgrade to libsqlite3-sys 0.12
2019-01-06 10:02:43 +01:00
gwenn
f9a08d7a5c
Prepare for next release
2019-01-06 09:56:55 +01:00