diff --git a/Cargo.toml b/Cargo.toml index f1513a2..6ca3db6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,7 +45,7 @@ window = ["rusqlite/window"] crossbeam-channel = { version = "0.5" } futures-channel = { version = "0.3" } futures-util = { version = "0.3" } -rusqlite = { version = "0.35.0" } +rusqlite = { version = "0.36.0" } [dev-dependencies] async-std = { version = "1.12.0" } diff --git a/src/client.rs b/src/client.rs index 251a057..0886ca5 100644 --- a/src/client.rs +++ b/src/client.rs @@ -172,7 +172,7 @@ impl Client { fn create_conn(mut builder: ClientBuilder) -> Result { let path = builder.path.take().unwrap_or_else(|| ":memory:".into()); let conn = if let Some(vfs) = builder.vfs.take() { - Connection::open_with_flags_and_vfs(path, builder.flags, &vfs)? + Connection::open_with_flags_and_vfs(path, builder.flags, vfs.as_str())? } else { Connection::open_with_flags(path, builder.flags)? };