From 688329dfbe0713a8451080167de4d21ddc332066 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 5 Apr 2024 00:22:07 +0200 Subject: [PATCH] fix: default features maybe CPAL will build inside CI? --- .github/workflows/rust.yml | 4 ++-- Cargo.toml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 73707b0..20ec993 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,6 +17,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Build - run: cargo build --verbose --no-default-features --features=tui,file + run: cargo build --verbose - name: Run tests - run: cargo test --verbose --no-default-features --features=tui,file + run: cargo test --verbose diff --git a/Cargo.toml b/Cargo.toml index 78399b3..55ef17c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,8 +35,7 @@ libpulse-binding = { version = "2.0", optional = true } libpulse-simple-binding = { version = "2.25", optional = true } [features] -default = ["tui"] -#default = ["app", "file", "cpal"] +default = ["app", "file", "cpal"] app = ["dep:clap", "tui"] tui = ["dep:ratatui", "dep:crossterm"] file = []