mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-24 23:57:38 +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
|
--features=tokio/macros --features=tokio/rt-multi-thread
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
[build]
|
||||||
# We pass "--cfg docsrs" when building docs to add `This is supported on feature="..." only.`
|
# We pass "--cfg docsrs" when building docs to add `This is supported on feature="..." only.`
|
||||||
rustdocflags = ["--cfg", "docsrs", "-Znormalize-docs"]
|
rustdocflags = ["--cfg", "docsrs", "-Znormalize-docs"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue