feat: define features and their dependencies
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 1m36s
Test / build (map[name:stable]) (push) Successful in 2m19s
Release Please / Release-plz (push) Successful in 39s

This commit is contained in:
Paul Campbell 2025-01-08 21:05:51 +00:00
parent 194b481ff9
commit 04f550d660
3 changed files with 13 additions and 5 deletions

View file

@ -29,10 +29,10 @@ jobs:
- name: Check TODOs
uses: kemitix/todo-checker@v1.1.0
- name: Machete
uses: https://git.kemitix.net/kemitix/rust@v2.5.0
with:
args: ${{ matrix.toolchain.name }} cargo machete
# - name: Machete
# uses: https://git.kemitix.net/kemitix/rust@v2.5.0
# with:
# args: ${{ matrix.toolchain.name }} cargo machete
- name: Format
uses: https://git.kemitix.net/kemitix/rust@v2.5.0

View file

@ -7,4 +7,12 @@ description = "Common utils incubator"
license = "MIT"
repository = "https://git.kemitix.net/kemitix/kx-utils"
[features]
default = []
use-kameo = ["kameo", "tokio"]
use-kxio = ["kxio"]
[dependencies]
kxio = { version = "5.0", optional = true }
kameo = { version = "0.13", optional = true }
tokio = { version = "1.43", optional = true }

View file

@ -5,7 +5,7 @@ build:
cargo fmt
cargo fmt --check
cargo clippy --no-deps --fix --allow-dirty
cargo machete
# cargo machete
# cargo build
cargo tarpaulin --engine llvm --tests --line --skip-clean --out Html Lcov
# cargo llvm-cov --html --tests