From 31712018bb0ccf63d4e9473cc0740c6b7c19cca5 Mon Sep 17 00:00:00 2001 From: Jeb Rosen Date: Mon, 20 Jan 2020 14:50:37 -0800 Subject: [PATCH] Update versions and links for updated dependencies. --- contrib/lib/src/databases.rs | 20 ++++++++++---------- contrib/lib/src/templates/mod.rs | 4 ++-- site/guide/6-state.md | 20 ++++++++++---------- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/contrib/lib/src/databases.rs b/contrib/lib/src/databases.rs index 3ea4e007..46566e84 100644 --- a/contrib/lib/src/databases.rs +++ b/contrib/lib/src/databases.rs @@ -349,35 +349,35 @@ //! | Kind | Driver | Version | `Poolable` Type | Feature | //! |----------|-----------------------|-----------|--------------------------------|------------------------| //! | MySQL | [Diesel] | `1` | [`diesel::MysqlConnection`] | `diesel_mysql_pool` | -//! | MySQL | [`rust-mysql-simple`] | `16` | [`mysql::conn`] | `mysql_pool` | +//! | MySQL | [`rust-mysql-simple`] | `17` | [`mysql::Conn`] | `mysql_pool` | //! | Postgres | [Diesel] | `1` | [`diesel::PgConnection`] | `diesel_postgres_pool` | -//! | Postgres | [Rust-Postgres] | `0.15` | [`postgres::Connection`] | `postgres_pool` | +//! | Postgres | [Rust-Postgres] | `0.17` | [`postgres::Client`] | `postgres_pool` | //! | Sqlite | [Diesel] | `1` | [`diesel::SqliteConnection`] | `diesel_sqlite_pool` | -//! | Sqlite | [`Rustqlite`] | `0.16` | [`rusqlite::Connection`] | `sqlite_pool` | +//! | Sqlite | [`Rusqlite`] | `0.16` | [`rusqlite::Connection`] | `sqlite_pool` | //! | Neo4j | [`rusted_cypher`] | `1` | [`rusted_cypher::GraphClient`] | `cypher_pool` | -//! | Redis | [`redis-rs`] | `0.10` | [`redis::Connection`] | `redis_pool` | +//! | Redis | [`redis-rs`] | `0.13` | [`redis::Connection`] | `redis_pool` | //! | MongoDB | [`mongodb`] | `0.3.12` | [`mongodb::db::Database`] | `mongodb_pool` | -//! | Memcache | [`memcache`] | `0.11` | [`memcache::Client`] | `memcache_pool` | +//! | Memcache | [`memcache`] | `0.14` | [`memcache::Client`] | `memcache_pool` | //! //! [Diesel]: https://diesel.rs -//! [`redis::Connection`]: https://docs.rs/redis/0.9.0/redis/struct.Connection.html +//! [`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 //! [`diesel::SqliteConnection`]: http://docs.diesel.rs/diesel/prelude/struct.SqliteConnection.html -//! [`postgres::Connection`]: https://docs.rs/postgres/0.15.2/postgres/struct.Connection.html +//! [`postgres::Client`]: https://docs.rs/postgres/0.17/postgres/struct.Client.html //! [`diesel::PgConnection`]: http://docs.diesel.rs/diesel/pg/struct.PgConnection.html -//! [`mysql::conn`]: https://docs.rs/mysql/14.0.0/mysql/struct.Conn.html +//! [`mysql::Conn`]: https://docs.rs/mysql/17/mysql/struct.Conn.html //! [`diesel::MysqlConnection`]: http://docs.diesel.rs/diesel/mysql/struct.MysqlConnection.html //! [`redis-rs`]: https://github.com/mitsuhiko/redis-rs //! [`rusted_cypher`]: https://github.com/livioribeiro/rusted-cypher -//! [`Rustqlite`]: https://github.com/jgallagher/rusqlite +//! [`Rusqlite`]: https://github.com/jgallagher/rusqlite //! [Rust-Postgres]: https://github.com/sfackler/rust-postgres //! [`rust-mysql-simple`]: https://github.com/blackbeam/rust-mysql-simple //! [`diesel::PgConnection`]: http://docs.diesel.rs/diesel/pg/struct.PgConnection.html //! [`mongodb`]: https://github.com/mongodb-labs/mongo-rust-driver-prototype //! [`mongodb::db::Database`]: https://docs.rs/mongodb/0.3.12/mongodb/db/type.Database.html //! [`memcache`]: https://github.com/aisk/rust-memcache -//! [`memcache::Client`]: https://docs.rs/memcache/0.11.0/memcache/struct.Client.html +//! [`memcache::Client`]: https://docs.rs/memcache/0.14/memcache/struct.Client.html //! //! The above table lists all the supported database adapters in this library. //! In order to use particular `Poolable` type that's included in this library, diff --git a/contrib/lib/src/templates/mod.rs b/contrib/lib/src/templates/mod.rs index 866e9d0a..9c22cb54 100644 --- a/contrib/lib/src/templates/mod.rs +++ b/contrib/lib/src/templates/mod.rs @@ -66,10 +66,10 @@ //! //! | Engine | Version | Extension | //! |--------------|---------|-----------| -//! | [Tera] | 0.11 | `.tera` | +//! | [Tera] | 1 | `.tera` | //! | [Handlebars] | 2 | `.hbs` | //! -//! [Tera]: https://docs.rs/crate/tera/0.11 +//! [Tera]: https://docs.rs/crate/tera/1 //! [Handlebars]: https://docs.rs/crate/handlebars/2 //! //! Any file that ends with one of these extension will be discovered and diff --git a/site/guide/6-state.md b/site/guide/6-state.md index 30638f15..c6188bee 100644 --- a/site/guide/6-state.md +++ b/site/guide/6-state.md @@ -181,36 +181,36 @@ Presently, Rocket provides built-in support for the following databases: | Kind | Driver | Version | `Poolable` Type | Feature | |----------|-----------------------|-----------|--------------------------------|------------------------| | MySQL | [Diesel] | `1` | [`diesel::MysqlConnection`] | `diesel_mysql_pool` | -| MySQL | [`rust-mysql-simple`] | `16` | [`mysql::conn`] | `mysql_pool` | +| MySQL | [`rust-mysql-simple`] | `17` | [`mysql::Conn`] | `mysql_pool` | | Postgres | [Diesel] | `1` | [`diesel::PgConnection`] | `diesel_postgres_pool` | -| Postgres | [Rust-Postgres] | `0.15` | [`postgres::Connection`] | `postgres_pool` | +| Postgres | [Rust-Postgres] | `0.17` | [`postgres::Client`] | `postgres_pool` | | Sqlite | [Diesel] | `1` | [`diesel::SqliteConnection`] | `diesel_sqlite_pool` | -| Sqlite | [`Rustqlite`] | `0.16` | [`rusqlite::Connection`] | `sqlite_pool` | +| Sqlite | [`Rusqlite`] | `0.16` | [`rusqlite::Connection`] | `sqlite_pool` | | Neo4j | [`rusted_cypher`] | `1` | [`rusted_cypher::GraphClient`] | `cypher_pool` | -| Redis | [`redis-rs`] | `0.10` | [`redis::Connection`] | `redis_pool` | +| Redis | [`redis-rs`] | `0.13` | [`redis::Connection`] | `redis_pool` | | MongoDB | [`mongodb`] | `0.3.12` | [`mongodb::db::Database`] | `mongodb_pool` | -| Memcache | [`memcache`] | `0.11` | [`memcache::Client`] | `memcache_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.10.0/redis/struct.Connection.html +[`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 [`diesel::SqliteConnection`]: http://docs.diesel.rs/diesel/prelude/struct.SqliteConnection.html -[`postgres::Connection`]: https://docs.rs/postgres/0.15.2/postgres/struct.Connection.html +[`postgres::Client`]: https://docs.rs/postgres/0.17/postgres/struct.Client.html [`diesel::PgConnection`]: http://docs.diesel.rs/diesel/pg/struct.PgConnection.html -[`mysql::conn`]: https://docs.rs/mysql/16.0.0/mysql/struct.Conn.html +[`mysql::Conn`]: https://docs.rs/mysql/17/mysql/struct.Conn.html [`diesel::MysqlConnection`]: http://docs.diesel.rs/diesel/mysql/struct.MysqlConnection.html [`redis-rs`]: https://github.com/mitsuhiko/redis-rs [`rusted_cypher`]: https://github.com/livioribeiro/rusted-cypher -[`Rustqlite`]: https://github.com/jgallagher/rusqlite +[`Rusqlite`]: https://github.com/jgallagher/rusqlite [Rust-Postgres]: https://github.com/sfackler/rust-postgres [`rust-mysql-simple`]: https://github.com/blackbeam/rust-mysql-simple [`diesel::PgConnection`]: http://docs.diesel.rs/diesel/pg/struct.PgConnection.html [`mongodb`]: https://github.com/mongodb-labs/mongo-rust-driver-prototype [`mongodb::db::Database`]: https://docs.rs/mongodb/0.3.12/mongodb/db/type.Database.html [`memcache`]: https://github.com/aisk/rust-memcache -[`memcache::Client`]: https://docs.rs/memcache/0.11.0/memcache/struct.Client.html +[`memcache::Client`]: https://docs.rs/memcache/0.14/memcache/struct.Client.html ### Usage