mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
commit
ad80b8fb94
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rusqlite"
|
||||
version = "0.3.1"
|
||||
version = "0.4.0"
|
||||
authors = ["John Gallagher <jgallagher@bignerdranch.com>"]
|
||||
description = "Ergonomic wrapper for SQLite"
|
||||
repository = "https://github.com/jgallagher/rusqlite"
|
||||
|
@ -1,3 +1,7 @@
|
||||
# Version 0.4.0 (2015-11-03)
|
||||
|
||||
* Adds `Sized` bound to `FromSql` trait as required by RFC 1214.
|
||||
|
||||
# Version 0.3.1 (2015-09-22)
|
||||
|
||||
* Reset underlying SQLite statements as soon as possible after executing, as recommended by
|
||||
|
@ -74,7 +74,7 @@ pub trait ToSql {
|
||||
}
|
||||
|
||||
/// A trait for types that can be created from a SQLite value.
|
||||
pub trait FromSql {
|
||||
pub trait FromSql: Sized {
|
||||
unsafe fn column_result(stmt: *mut sqlite3_stmt, col: c_int) -> SqliteResult<Self>;
|
||||
|
||||
/// FromSql types can implement this method and use sqlite3_column_type to check that
|
||||
|
Loading…
Reference in New Issue
Block a user