2022-07-03 14:33:46 +04:00
|
|
|
[alias]
|
2022-11-07 19:15:30 +04:00
|
|
|
# Using `--features=full --features=nightly` instead of `--all-features` because of
|
|
|
|
# https://github.com/rust-lang/cargo/issues/10333
|
2022-07-03 14:33:46 +04:00
|
|
|
#
|
2022-11-07 19:15:30 +04:00
|
|
|
# "tokio/macros" and "tokio/rt-multi-thread" are required for examples
|
|
|
|
docs = """doc
|
2022-12-28 23:16:23 +04:00
|
|
|
-Zrustdoc-scrape-examples
|
2022-11-07 19:15:30 +04:00
|
|
|
--features=full --features=nightly
|
|
|
|
--features=tokio/macros --features=tokio/rt-multi-thread
|
2022-07-03 14:33:46 +04:00
|
|
|
"""
|
2022-11-07 19:15:30 +04:00
|
|
|
|
|
|
|
[build]
|
|
|
|
# We pass "--cfg docsrs" when building docs to add `This is supported on feature="..." only.`
|
|
|
|
rustdocflags = ["--cfg", "docsrs", "-Znormalize-docs"]
|