diff --git a/CHANGELOG.md b/CHANGELOG.md index ffd72b41..801294ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## unreleased +## 0.12.2 - 2023-02-15 + +### Fixed + +- `docs.rs` documentation build + ## 0.12.1 - 2023-02-15 ### Fixed diff --git a/crates/teloxide/Cargo.toml b/crates/teloxide/Cargo.toml index a0ee5364..92703ecd 100644 --- a/crates/teloxide/Cargo.toml +++ b/crates/teloxide/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "teloxide" -version = "0.12.1" +version = "0.12.2" description = "An elegant Telegram bots framework for Rust" rust-version.workspace = true @@ -120,7 +120,8 @@ tokio-stream = "0.1" [package.metadata.docs.rs] -all-features = true +# NB: can't use `all-features = true`, because `sqlite-storage` conflicts with `sqlite-storage-rustls` +features = ["full", "nightly"] # FIXME: Add back "-Znormalize-docs" when https://github.com/rust-lang/rust/issues/93703 is fixed rustdoc-args = ["--cfg", "docsrs"] rustc-args = ["--cfg", "dep_docsrs"]