mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 09:49:07 +01:00
Fix how we set rustdocflags
in the cargo config
This commit is contained in:
parent
5921b15db3
commit
5fc3d2b81d
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