Cargo Features

[dependencies]
oneio = { version = "0.17.0-beta.1", default-features = false, features = ["lib-core", "cli", "native-tls", "rustls", "digest", "compressions", "gz", "bz", "lz", "xz", "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 default-tls of optional reqwest

remote

and sync-native-tls of optional rust-s3

s3

and native-tls of optional suppaftp

ftp

rustls default cli?

Enables rustls-tls of optional reqwest, sync-rustls-tls of optional rust-s3, rustls of optional suppaftp

digest cli? = hex, ring

Affects oneio::digest

compressions lib-core = bz, gz, lz, xz

supported compression algorithms, which can be toggled on/off individually

gz compressions? = flate2
bz compressions? = bzip2
lz compressions? = lz4
xz compressions? = xz2
remote lib-core = reqwest, suppaftp

Affects oneio::remote

json lib-core = serde, serde_json

Affects utils::read_json_struct

s3 cli? = dotenvy, 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?
flate2 gz?

Enables flate2

compression

bzip2 bz?
lz4 lz?
xz2 xz?
ring digest?

Enables ring

sha256

hex digest?
clap cli?

Enables clap

cli

tracing cli?
serde json?

Enables serde

json

serde_json json?
rust-s3 s3?
dotenvy s3?
suppaftp remote?