feat: define features and their dependencies
This commit is contained in:
parent
194b481ff9
commit
04f550d660
3 changed files with 13 additions and 5 deletions
|
@ -29,10 +29,10 @@ jobs:
|
||||||
- name: Check TODOs
|
- name: Check TODOs
|
||||||
uses: kemitix/todo-checker@v1.1.0
|
uses: kemitix/todo-checker@v1.1.0
|
||||||
|
|
||||||
- name: Machete
|
# - name: Machete
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
|
# uses: https://git.kemitix.net/kemitix/rust@v2.5.0
|
||||||
with:
|
# with:
|
||||||
args: ${{ matrix.toolchain.name }} cargo machete
|
# args: ${{ matrix.toolchain.name }} cargo machete
|
||||||
|
|
||||||
- name: Format
|
- name: Format
|
||||||
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
|
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
|
||||||
|
|
|
@ -7,4 +7,12 @@ description = "Common utils incubator"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://git.kemitix.net/kemitix/kx-utils"
|
repository = "https://git.kemitix.net/kemitix/kx-utils"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = []
|
||||||
|
use-kameo = ["kameo", "tokio"]
|
||||||
|
use-kxio = ["kxio"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
kxio = { version = "5.0", optional = true }
|
||||||
|
kameo = { version = "0.13", optional = true }
|
||||||
|
tokio = { version = "1.43", optional = true }
|
||||||
|
|
2
justfile
2
justfile
|
@ -5,7 +5,7 @@ build:
|
||||||
cargo fmt
|
cargo fmt
|
||||||
cargo fmt --check
|
cargo fmt --check
|
||||||
cargo clippy --no-deps --fix --allow-dirty
|
cargo clippy --no-deps --fix --allow-dirty
|
||||||
cargo machete
|
# cargo machete
|
||||||
# cargo build
|
# cargo build
|
||||||
cargo tarpaulin --engine llvm --tests --line --skip-clean --out Html Lcov
|
cargo tarpaulin --engine llvm --tests --line --skip-clean --out Html Lcov
|
||||||
# cargo llvm-cov --html --tests
|
# cargo llvm-cov --html --tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue