feat!: split into non-default features fs and network
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Closes kemitix/kxio#11
This commit is contained in:
Paul Campbell 2024-04-16 06:57:59 +01:00
parent 939230038c
commit ff69ed2f23
2 changed files with 6 additions and 0 deletions

View file

@ -8,6 +8,10 @@ license = "MIT"
repository = "https://git.kemitix.net/kemitix/kxio" repository = "https://git.kemitix.net/kemitix/kxio"
exclude = [".cargo_home"] exclude = [".cargo_home"]
[features]
fs = []
network = []
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]

View file

@ -1,2 +1,4 @@
#[cfg(feature = "fs")]
pub mod filesystem; pub mod filesystem;
#[cfg(feature = "network")]
pub mod network; pub mod network;