Compare commits

..

6 commits

Author SHA1 Message Date
8b613fae3c feat(fs): add lines to reader 2024-11-01 21:03:36 +00:00
8e624b4e63 feat(fs); add as_dir/as_file to convert from path 2024-11-01 21:03:36 +00:00
8aa8151253 test: remove unit tests
These have all been moved over to integration tests.
Integrtaion
2024-11-01 21:03:36 +00:00
e4877e2a99 refactor: split real module into sub-modules 2024-11-01 21:03:36 +00:00
5cf7b48857 refactor: move new fns to their struct 2024-11-01 21:03:26 +00:00
1ea9c1c557 test(fs): integration tests
Some checks failed
Rust / build (map[name:stable]) (push) Failing after 2m3s
Rust / build (map[name:nightly]) (push) Failing after 3m54s
2024-11-01 21:02:04 +00:00
4 changed files with 11 additions and 7 deletions

View file

@ -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)'] }

View file

@ -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"

View file

@ -1,3 +1,6 @@
// //
#[cfg(feature = "fs")]
pub mod fs; pub mod fs;
#[cfg(feature = "network")]
pub mod network; pub mod network;

View file

@ -1,4 +0,0 @@
//
pub mod fs;
// pub mod network;