gwenn
c925d1aa97
Rustfmt
2018-08-11 12:48:21 +02:00
gwenn
994d40da26
Fix clippy warnings
2018-05-04 19:55:55 +02:00
gwenn
08f96a678e
Rustfmt
2017-04-07 19:43:24 +02: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
gwenn
8f28ff17b8
Fix rustdoc warnings
2016-08-15 12:41:15 +02:00
gwenn
f529d130b9
Rustfmt
2016-02-02 19:12:00 +01:00
gwenn
12f26e78b3
Introduce RowIndex trait (like in rust-postgres)
2016-01-02 12:13:37 +01:00
John Gallagher
047861b928
Move Error
into its own module (internal organization only - public API remains).
2015-12-16 20:30:27 -05:00
John Gallagher
aac4d59fcc
Change Error
from a struct to an enum (BREAKING CHANGE).
...
This allows us to separate out the underlying SQLite error codes from
errors that occur on the Rust side.
2015-12-16 20:30:27 -05:00
John Gallagher
eb60bb3111
Rename SqliteResult
-> Result
.
2015-12-12 14:06:03 -05:00
John Gallagher
f0b6bf9152
Rename SqliteError -> Error.
2015-12-12 13:53:58 -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
49951ca3be
Add backup and restore methods to SqliteConnection (behind backup
Cargo feature)
2015-12-10 16:20:46 -05:00
John Gallagher
3781b8f47f
rustfmt backup.rs
2015-12-10 16:20:46 -05:00
John Gallagher
8c2e0a0da7
Rename BackupName -> DatabaseName
2015-12-10 16:20:45 -05:00
John Gallagher
5ebbf5a1a2
Use &str instead of String inside BackupName
2015-12-09 00:48:40 -05:00
John Gallagher
e2f8e73635
Initial implementation of the online backup API.
2015-12-09 00:19:59 -05:00