diff --git a/contrib/lib/Cargo.toml b/contrib/lib/Cargo.toml index d7402e0a..34a5ce4f 100644 --- a/contrib/lib/Cargo.toml +++ b/contrib/lib/Cargo.toml @@ -72,8 +72,8 @@ 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 } -r2d2_redis = { version = "0.12", optional = true } +redis = { version = "0.15", optional = true } +r2d2_redis = { version = "0.13", optional = true } mongodb = { version = "0.3.12", optional = true } r2d2-mongodb = { version = "0.2.0", optional = true } memcache = { version = "0.14", optional = true } diff --git a/contrib/lib/src/databases.rs b/contrib/lib/src/databases.rs index bcc7a218..2fd78da7 100644 --- a/contrib/lib/src/databases.rs +++ b/contrib/lib/src/databases.rs @@ -346,12 +346,12 @@ //! | Sqlite | [Diesel] | `1` | [`diesel::SqliteConnection`] | `diesel_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` | +//! | Redis | [`redis-rs`] | `0.15` | [`redis::Connection`] | `redis_pool` | //! | MongoDB | [`mongodb`] | `0.3.12` | [`mongodb::db::Database`] | `mongodb_pool` | //! | Memcache | [`memcache`] | `0.14` | [`memcache::Client`] | `memcache_pool` | //! //! [Diesel]: https://diesel.rs -//! [`redis::Connection`]: https://docs.rs/redis/0.13.0/redis/struct.Connection.html +//! [`redis::Connection`]: https://docs.rs/redis/0.15.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.23.0/rusqlite/struct.Connection.html //! [`diesel::SqliteConnection`]: http://docs.diesel.rs/diesel/prelude/struct.SqliteConnection.html diff --git a/site/guide/6-state.md b/site/guide/6-state.md index 077258a1..515bba14 100644 --- a/site/guide/6-state.md +++ b/site/guide/6-state.md @@ -236,13 +236,13 @@ Presently, Rocket provides built-in support for the following databases: | Sqlite | [Diesel] | `1` | [`diesel::SqliteConnection`] | `diesel_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` | +| Redis | [`redis-rs`] | `0.15` | [`redis::Connection`] | `redis_pool` | | MongoDB | [`mongodb`] | `0.3.12` | [`mongodb::db::Database`] | `mongodb_pool` | | Memcache | [`memcache`] | `0.14` | [`memcache::Client`] | `memcache_pool` | [`r2d2`]: https://crates.io/crates/r2d2 [Diesel]: https://diesel.rs -[`redis::Connection`]: https://docs.rs/redis/0.13.0/redis/struct.Connection.html +[`redis::Connection`]: https://docs.rs/redis/0.15.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.23.0/rusqlite/struct.Connection.html [`diesel::SqliteConnection`]: http://docs.diesel.rs/diesel/prelude/struct.SqliteConnection.html