Compare commits
6 commits
4f45383ff7
...
8b613fae3c
Author | SHA1 | Date | |
---|---|---|---|
8b613fae3c | |||
8e624b4e63 | |||
8aa8151253 | |||
e4877e2a99 | |||
5cf7b48857 | |||
1ea9c1c557 |
4 changed files with 11 additions and 7 deletions
|
@ -8,6 +8,11 @@ license = "MIT"
|
||||||
repository = "https://git.kemitix.net/kemitix/kxio"
|
repository = "https://git.kemitix.net/kemitix/kxio"
|
||||||
exclude = [".cargo_home"]
|
exclude = [".cargo_home"]
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["fs", "network"]
|
||||||
|
fs = []
|
||||||
|
network = []
|
||||||
|
|
||||||
[lints.rust]
|
[lints.rust]
|
||||||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
|
||||||
|
|
||||||
|
|
6
justfile
6
justfile
|
@ -1,7 +1,7 @@
|
||||||
build:
|
build:
|
||||||
cargo hack --feature-powerset build
|
cargo build
|
||||||
cargo hack --feature-powerset test
|
cargo test
|
||||||
cargo hack --feature-powerset clippy
|
cargo clippy
|
||||||
|
|
||||||
install-hooks:
|
install-hooks:
|
||||||
@echo "Installing git hooks"
|
@echo "Installing git hooks"
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
//
|
//
|
||||||
|
#[cfg(feature = "fs")]
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
|
|
||||||
|
#[cfg(feature = "network")]
|
||||||
pub mod network;
|
pub mod network;
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
//
|
|
||||||
pub mod fs;
|
|
||||||
|
|
||||||
// pub mod network;
|
|
Loading…
Reference in a new issue