feat: define features and their dependencies
This commit is contained in:
parent
194b481ff9
commit
32cf0c1ba9
2 changed files with 9 additions and 1 deletions
|
@ -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 }
|
||||
|
|
2
justfile
2
justfile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue