diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml index da332d78..d7402e0a 100644 --- a/contrib/lib/Cargo.toml +++ b/contrib/lib/Cargo.toml @@ -68,8 +68,8 @@ r2d2 = { version = "0.8", optional = true } r2d2_postgres = { version = "0.16", optional = true } mysql = { version = "18.0", optional = true } r2d2_mysql = { version = "18.0", optional = true } -rusqlite = { version = "0.16.0", optional = true } -r2d2_sqlite = { version = "0.8", optional = true } +rusqlite = { version = "0.23", optional = true } +r2d2_sqlite = { version = "0.16", optional = true } rusted_cypher = { version = "1", optional = true } r2d2_cypher = { version = "0.4", optional = true } redis = { version = "0.13", optional = true } diff --git a/contrib/lib/src/databases.rs b/contrib/lib/src/databases.rs index 9d5f0162..bcc7a218 100644 --- a/contrib/lib/src/databases.rs +++ b/contrib/lib/src/databases.rs @@ -344,7 +344,7 @@ //! | Postgres | [Diesel] | `1` | [`diesel::PgConnection`] | `diesel_postgres_pool` | //! | Postgres | [Rust-Postgres] | `0.17` | [`postgres::Client`] | `postgres_pool` | //! | Sqlite | [Diesel] | `1` | [`diesel::SqliteConnection`] | `diesel_sqlite_pool` | -//! | Sqlite | [`Rusqlite`] | `0.16` | [`rusqlite::Connection`] | `sqlite_pool` | +//! | Sqlite | [`Rusqlite`] | `0.23` | [`rusqlite::Connection`] | `sqlite_pool` | //! | Neo4j | [`rusted_cypher`] | `1` | [`rusted_cypher::GraphClient`] | `cypher_pool` | //! | Redis | [`redis-rs`] | `0.13` | [`redis::Connection`] | `redis_pool` | //! | MongoDB | [`mongodb`] | `0.3.12` | [`mongodb::db::Database`] | `mongodb_pool` | @@ -353,7 +353,7 @@ //! [Diesel]: https://diesel.rs //! [`redis::Connection`]: https://docs.rs/redis/0.13.0/redis/struct.Connection.html //! [`rusted_cypher::GraphClient`]: https://docs.rs/rusted_cypher/1.1.0/rusted_cypher/graph/struct.GraphClient.html -//! [`rusqlite::Connection`]: https://docs.rs/rusqlite/0.16.0/rusqlite/struct.Connection.html +//! [`rusqlite::Connection`]: https://docs.rs/rusqlite/0.23.0/rusqlite/struct.Connection.html //! [`diesel::SqliteConnection`]: http://docs.diesel.rs/diesel/prelude/struct.SqliteConnection.html //! [`postgres::Client`]: https://docs.rs/postgres/0.17/postgres/struct.Client.html //! [`diesel::PgConnection`]: http://docs.diesel.rs/diesel/pg/struct.PgConnection.html diff --git a/examples/raw_sqlite/Cargo.toml b/examples/raw_sqlite/Cargo.toml index 1b09d9af..67977941 100644 --- a/examples/raw_sqlite/Cargo.toml +++ b/examples/raw_sqlite/Cargo.toml @@ -7,4 +7,4 @@ publish = false [dependencies] rocket = { path = "../../core/lib" } -rusqlite = "0.16" +rusqlite = "0.23" diff --git a/site/guide/6-state.md b/site/guide/6-state.md index 6f5dd672..077258a1 100644 --- a/site/guide/6-state.md +++ b/site/guide/6-state.md @@ -234,7 +234,7 @@ Presently, Rocket provides built-in support for the following databases: | Postgres | [Diesel] | `1` | [`diesel::PgConnection`] | `diesel_postgres_pool` | | Postgres | [Rust-Postgres] | `0.17` | [`postgres::Client`] | `postgres_pool` | | Sqlite | [Diesel] | `1` | [`diesel::SqliteConnection`] | `diesel_sqlite_pool` | -| Sqlite | [`Rusqlite`] | `0.16` | [`rusqlite::Connection`] | `sqlite_pool` | +| Sqlite | [`Rusqlite`] | `0.23` | [`rusqlite::Connection`] | `sqlite_pool` | | Neo4j | [`rusted_cypher`] | `1` | [`rusted_cypher::GraphClient`] | `cypher_pool` | | Redis | [`redis-rs`] | `0.13` | [`redis::Connection`] | `redis_pool` | | MongoDB | [`mongodb`] | `0.3.12` | [`mongodb::db::Database`] | `mongodb_pool` | @@ -244,7 +244,7 @@ Presently, Rocket provides built-in support for the following databases: [Diesel]: https://diesel.rs [`redis::Connection`]: https://docs.rs/redis/0.13.0/redis/struct.Connection.html [`rusted_cypher::GraphClient`]: https://docs.rs/rusted_cypher/1.1.0/rusted_cypher/graph/struct.GraphClient.html -[`rusqlite::Connection`]: https://docs.rs/rusqlite/0.16.0/rusqlite/struct.Connection.html +[`rusqlite::Connection`]: https://docs.rs/rusqlite/0.23.0/rusqlite/struct.Connection.html [`diesel::SqliteConnection`]: http://docs.diesel.rs/diesel/prelude/struct.SqliteConnection.html [`postgres::Client`]: https://docs.rs/postgres/0.17/postgres/struct.Client.html [`diesel::PgConnection`]: http://docs.diesel.rs/diesel/pg/struct.PgConnection.html