mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 19:41:37 +08:00
commit
073aff493d
@ -28,7 +28,7 @@ preupdate_hook = []
|
|||||||
session = ["preupdate_hook"]
|
session = ["preupdate_hook"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
bindgen = { version = "0.46", optional = true }
|
bindgen = { version = "0.47", optional = true }
|
||||||
pkg-config = { version = "0.3", optional = true }
|
pkg-config = { version = "0.3", optional = true }
|
||||||
cc = { version = "1.0", optional = true }
|
cc = { version = "1.0", optional = true }
|
||||||
|
|
||||||
|
@ -999,7 +999,7 @@ mod test {
|
|||||||
// dynamic slice:
|
// dynamic slice:
|
||||||
db.query_row(
|
db.query_row(
|
||||||
"SELECT ?1, ?2, ?3",
|
"SELECT ?1, ?2, ?3",
|
||||||
&[&1u8 as &ToSql, &"one", &Some("one")],
|
&[&1u8 as &dyn ToSql, &"one", &Some("one")],
|
||||||
|row| row.get::<_, u8>(0),
|
|row| row.get::<_, u8>(0),
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user