Merge pull request #257 from teloxide/rustdocflags

Fix how we set `rustdocflags` in the cargo config
This commit is contained in:
Waffle Maybe 2022-10-03 11:59:55 +04:00 committed by GitHub
commit dbf4a4077e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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