1
0
Fork 0
mirror of https://github.com/alemidev/scope-tui.git synced 2024-11-23 14:14:48 +01:00

fix: default features

maybe CPAL will build inside CI?
This commit is contained in:
əlemi 2024-04-05 00:22:07 +02:00
parent c81d55b48b
commit 688329dfbe
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 3 additions and 4 deletions

View file

@ -17,6 +17,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Build - name: Build
run: cargo build --verbose --no-default-features --features=tui,file run: cargo build --verbose
- name: Run tests - name: Run tests
run: cargo test --verbose --no-default-features --features=tui,file run: cargo test --verbose

View file

@ -35,8 +35,7 @@ libpulse-binding = { version = "2.0", optional = true }
libpulse-simple-binding = { version = "2.25", optional = true } libpulse-simple-binding = { version = "2.25", optional = true }
[features] [features]
default = ["tui"] default = ["app", "file", "cpal"]
#default = ["app", "file", "cpal"]
app = ["dep:clap", "tui"] app = ["dep:clap", "tui"]
tui = ["dep:ratatui", "dep:crossterm"] tui = ["dep:ratatui", "dep:crossterm"]
file = [] file = []