Cargo Features
[dependencies]
misc_utils = { version = "4.3.0", default-features = false, features = ["async-fs", "file-bz2", "file-gz", "file-xz", "jsonl"] }
- default = file-gz, file-xz, jsonl
-
These default features are set whenever
misc_utils
is added without
somewhere in the dependency tree.default-features = false - async-fs = tokio
-
Affects
misc_utils::async_fs
… - file-bz2 = bzip2
- file-gz default = flate2
- file-xz default = xz2
- jsonl default = serde, serde_json
-
A nice multi-threaded JSONL iterator which puts file reading and JSON parsing into its own threads.
Affects
error::MtJsonlError
,fs::MtJsonl
,fs::parse_jsonl_multi_threaded
…
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.