diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b60d7eb..e990ad6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2022-02-02 + toolchain: nightly-2022-05-06 override: true components: rustfmt @@ -37,7 +37,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2022-02-02 + toolchain: nightly-2022-05-06 override: true components: clippy @@ -65,7 +65,7 @@ jobs: toolchain: beta features: "--features full" - rust: nightly - toolchain: nightly-2022-01-17 + toolchain: nightly-2022-05-06 features: "--all-features" - rust: msrv toolchain: "1.58.0" diff --git a/README.md b/README.md index 32b7d8fa..0e758242 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ - **Declarative design.** teloxide is based upon [`dptree`], a functional [chain of responsibility] pattern that allows you to express pipelines of message processing in a highly declarative and extensible style. -[`dptree`]: https://github.com/p0lunin/dptree +[`dptree`]: https://github.com/teloxide/dptree [chain of responsibility]: https://en.wikipedia.org/wiki/Chain-of-responsibility_pattern - **Dialogues management subsystem.** Our dialogues management subsystem is simple and easy-to-use, and, furthermore, is agnostic of how/where dialogues are stored. For example, you can just replace a one line to achieve [persistence]. Out-of-the-box storages include [Redis] and [Sqlite]. diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7158d75f..43d17c19 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly-2022-02-02" +channel = "nightly-2022-05-06" components = ["rustfmt", "clippy"] profile = "minimal" diff --git a/src/lib.rs b/src/lib.rs index f25e81a9..f53ed5c5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,10 +1,10 @@ //! A full-featured framework that empowers you to easily build [Telegram bots] -//! using the [`async`/`.await`] syntax in [Rust]. It handles all the difficult -//! stuff so you can focus only on your business logic. +//! using [Rust]. It handles all the difficult stuff so you can focus only on +//! your business logic. //! //! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide). //! -//! ([Full](https://github.com/teloxide/teloxide/blob/master/examples/throw_dice.rs)) +//! [[`examples/throw_dice.rs`](https://github.com/teloxide/teloxide/blob/master/examples/throw_dice.rs)] //! ```no_run //! use teloxide::prelude::*; //! @@ -25,7 +25,7 @@ //! //!