mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Merge pull request #257 from teloxide/rustdocflags
Fix how we set `rustdocflags` in the cargo config
This commit is contained in:
commit
dbf4a4077e
1 changed files with 1 additions and 0 deletions
|
@ -9,5 +9,6 @@ docs = """doc
|
|||
--features=tokio/macros --features=tokio/rt-multi-thread
|
||||
"""
|
||||
|
||||
[build]
|
||||
# We pass "--cfg docsrs" when building docs to add `This is supported on feature="..." only.`
|
||||
rustdocflags = ["--cfg", "docsrs", "-Znormalize-docs"]
|
||||
|
|
Loading…
Reference in a new issue