Compare commits

..

6 commits

Author SHA1 Message Date
4f45383ff7 feat(fs): add lines to reader 2024-11-01 21:16:55 +00:00
2a8e4393ae feat(fs); add as_dir/as_file to convert from path 2024-11-01 21:16:55 +00:00
3a625f5b5b test: remove unit tests
These have all been moved over to integration tests.
Integrtaion
2024-11-01 21:16:55 +00:00
35f41f8c64 refactor: split real module into sub-modules
Some checks failed
Rust / build (map[name:stable]) (push) Failing after 33s
Rust / build (map[name:nightly]) (push) Failing after 1m37s
2024-11-01 21:16:32 +00:00
791fa74e78 refactor: move new fns to their struct
All checks were successful
Rust / build (map[name:stable]) (push) Successful in 2m12s
Rust / build (map[name:nightly]) (push) Successful in 4m22s
Release Please / Release-plz (push) Successful in 38s
2024-11-01 21:16:32 +00:00
17f6f877b6 test(fs): integration tests
All checks were successful
Rust / build (map[name:nightly]) (push) Successful in 2m6s
Rust / build (map[name:stable]) (push) Successful in 4m21s
Release Please / Release-plz (push) Successful in 44s
2024-11-01 21:16:32 +00:00
4 changed files with 7 additions and 11 deletions

View file

@ -8,11 +8,6 @@ license = "MIT"
repository = "https://git.kemitix.net/kemitix/kxio"
exclude = [".cargo_home"]
[features]
default = ["fs", "network"]
fs = []
network = []
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }

View file

@ -1,7 +1,7 @@
build:
cargo build
cargo test
cargo clippy
cargo hack --feature-powerset build
cargo hack --feature-powerset test
cargo hack --feature-powerset clippy
install-hooks:
@echo "Installing git hooks"

View file

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

4
src/tests/mod.rs Normal file
View file

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