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:
parent
c81d55b48b
commit
688329dfbe
2 changed files with 3 additions and 4 deletions
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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 = []
|
||||||
|
|
Loading…
Reference in a new issue