Cargo Features
[dependencies]
oneio = { version = "0.17.0", default-features = false, features = ["lib-core", "cli", "native-tls", "rustls", "digest", "compressions", "gz", "bz", "lz", "xz", "zstd", "remote", "json", "s3"] }
- default = lib-core, rustls
-
default features include the library core and use rustls by default
- lib-core default cli? = compressions, json, remote
-
library core dependency to enable reading from local/remote with compressions enabled
- cli = clap, digest, lib-core, rustls, s3, tracing
-
cli dependencies
Required by the binary
- native-tls
-
optional flags to select native-tls or rust-tls
Enables native-tls of optional suppaftp and default-tls of optional reqwest
feature: remote
and sync-native-tls of optional rust-s3 ^0.34.0-rc4
feature: s3
- rustls default cli?
-
Enables rustls-tls of optional reqwest, sync-rustls-tls of optional rust-s3 ^0.34.0-rc4, rustls of optional suppaftp
- digest cli? = hex, ring
-
Affects
oneio::digest
… - compressions lib-core = bz, gz, lz, xz, zstd
-
supported compression algorithms, which can be toggled on/off individually
- gz compressions? = flate2
- bz compressions? = bzip2
- lz compressions? = lz4
- xz compressions? = xz2
- zstd compressions?
-
Enables zstd
- remote lib-core = reqwest, suppaftp
-
Affects
oneio::remote
… - json lib-core = serde, serde_json
-
Affects
utils::read_json_struct
… - s3 cli? = rust-s3
-
s3 support, off by default
Affects
oneio::s3
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- reqwest remote?
- suppaftp remote?
- flate2 gz?
-
Enables flate2
feature: compressions
- bzip2 bz?
-
Enables bzip2 ^0.4.4
- lz4 lz?
- xz2 xz?
- ring digest?
-
Enables ring
feature: digest
- hex digest?
- serde json?
-
Enables serde
feature: json
- serde_json json?
- rust-s3 s3?
-
Enables rust-s3 ^0.34.0-rc4
- clap cli?
-
Enables clap
feature: cli
- tracing cli?