From 6b6bb6856773091b0aab2c22ffe28aa4643bebcb Mon Sep 17 00:00:00 2001 From: rhysd Date: Tue, 24 Oct 2023 17:25:29 +0900 Subject: [PATCH] enable `termwiz` and `termion` features on generating API doc --- .github/workflows/ci.yml | 2 +- Cargo.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0985d39..6130912 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,4 +41,4 @@ jobs: - run: cargo clippy --examples --no-default-features --features tuirs-termion,search -- -D warnings - run: cargo clippy --examples --no-default-features --features tuirs-no-backend -- -D warnings - run: cargo clippy --examples --no-default-features --features tuirs-no-backend,search -- -D warnings - - run: cargo rustdoc --features=search -p tui-textarea -- -D warnings + - run: cargo rustdoc --features=search,termwiz,termion -p tui-textarea -- -D warnings diff --git a/Cargo.toml b/Cargo.toml index 4510a7e..876c36e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -110,5 +110,6 @@ members = [ lto = "thin" [package.metadata.docs.rs] -features = ["search"] +targets = ["x86_64-unknown-linux-gnu"] +features = ["search", "crossterm", "termwiz", "termion"] rustdoc-args = ["--cfg", "docsrs"]