mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix docs.rs
build
This commit is contained in:
parent
e54acb76ea
commit
0fb3cdd6b4
2 changed files with 9 additions and 2 deletions
|
@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## unreleased
|
## unreleased
|
||||||
|
|
||||||
|
## 0.12.2 - 2023-02-15
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- `docs.rs` documentation build
|
||||||
|
|
||||||
## 0.12.1 - 2023-02-15
|
## 0.12.1 - 2023-02-15
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "teloxide"
|
name = "teloxide"
|
||||||
version = "0.12.1"
|
version = "0.12.2"
|
||||||
description = "An elegant Telegram bots framework for Rust"
|
description = "An elegant Telegram bots framework for Rust"
|
||||||
|
|
||||||
rust-version.workspace = true
|
rust-version.workspace = true
|
||||||
|
@ -120,7 +120,8 @@ tokio-stream = "0.1"
|
||||||
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[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
|
# FIXME: Add back "-Znormalize-docs" when https://github.com/rust-lang/rust/issues/93703 is fixed
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
rustc-args = ["--cfg", "dep_docsrs"]
|
rustc-args = ["--cfg", "dep_docsrs"]
|
||||||
|
|
Loading…
Reference in a new issue