feat!: split into non-default features fs and network
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Closes kemitix/kxio#11
This commit is contained in:
parent
939230038c
commit
ff69ed2f23
2 changed files with 6 additions and 0 deletions
|
@ -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]
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
#[cfg(feature = "fs")]
|
||||||
pub mod filesystem;
|
pub mod filesystem;
|
||||||
|
#[cfg(feature = "network")]
|
||||||
pub mod network;
|
pub mod network;
|
||||||
|
|
Loading…
Reference in a new issue