From 0b5e5d2b8a1a462f27c9f998845765e35d7158d5 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 15 Dec 2025 10:11:58 +0500 Subject: add .cargo/config.toml --- .cargo/config.toml | 11 +++++++++++ .github/workflows/doc.yml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 00000000..21dfb83f --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,11 @@ +[build] +rustflags = ["--cfg", "docsrs_dep"] +rustdocflags = [ + "--html-after-content", + "docs-rs/trait-tags.html", + "--cfg", + "docsrs_dep", +] + +[unstable] +rustdoc-scrape-examples = true diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index a3486e8f..7721c305 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - name: Install Nightly - run: rustup update nightly && rustup default nightly && rustup component add clippy + run: rustup update nightly && rustup default nightly - name: Cache dependencies uses: Swatinem/rust-cache@v2 -- cgit v1.2.3