mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
41197bf515
Former-commit-id: a4ad44fae9
12 lines
409 B
TOML
12 lines
409 B
TOML
[alias]
|
|
# We pass "--cfg docsrs" when building docs to turn on nightly-only rustdoc features like
|
|
# `This is supported on feature="..." only.`
|
|
#
|
|
# "--cfg dep_docsrs" is used for the same reason, but for `teloxide-core`.
|
|
docs = """
|
|
doc
|
|
--all-features
|
|
--config build.rustflags=["--cfg=dep_docsrs"]
|
|
--config build.rustdocflags=["--cfg=docsrs","-Znormalize-docs"]
|
|
-Zrustdoc-scrape-examples=examples
|
|
"""
|