Fix docs.rs build

This commit is contained in:
Maybe Waffle 2023-02-16 00:26:48 +04:00
parent e54acb76ea
commit 0fb3cdd6b4
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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"]