Cargo Features
[dependencies]
e-utils = { version = "0.4.15", default-features = false, features = ["std", "alloc", "fs", "fs_ext", "http", "http-blocking", "http-json", "base64", "algorithm", "images", "cmd", "encode", "dialog", "regex", "parse", "chrono", "build"] }
- default = std
-
The
std
feature is set by default whenevere-utils
is added without
somewhere in the dependency tree.default-features = false - std default
- alloc
- fs build? cmd? fs_ext? = async-trait, regex
-
Affects
cmd::shell_open
,cmd::a_shell_open
… - fs_ext = fs, libc, winapi
-
Enables fileapi, handleapi, minwinbase, processthreadsapi, winbase and winerror of winapi
Affects
fs::options
… - http = reqwest
- http-blocking images?
- http-json
- base64
- algorithm = rand
- images = http-blocking, image
- cmd build? = encode, fs, rayon, serde_json
-
Affects
system::cmd
… - encode cmd? = encoding_rs, once_cell, sys-locale
-
Affects
_fs::write_gbk
,_fs::write_utf8
,_fs::a_sync.write_gbk
,_fs::a_sync.write_utf8
,system::encode
… - dialog = glib, rfd, tokio
-
Enables tokio and xdg-portal of rfd
- regex fs? parse?
-
Affects
cmd::rlog
,system::regex
… - parse = async-trait, chrono, once_cell, regex
- chrono build? parse?
-
Enables chrono
Affects
system::chrono
… - build = chrono, cmd, fs
-
Affects
e-utils::build
…
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.
- serde_json cmd?
- reqwest http? http-blocking? http-json?
- once_cell encode? parse?
- rand algorithm?
- image images?
- encoding_rs encode?
- sys-locale encode?
- tokio dialog?
-
Affects
dialog::a_sync
,_fs::a_sync
,_fs::AutoPath.a_auto_create_dir
,_fs::AutoPath.a_auto_remove_dir
,_fs::AutoPath.a_auto_create_file
,_fs::AutoPath.a_auto_remove_file
,_fs::a_temp_file
,rlog::a_parse_and_validate_log
,tasks::a_sync
,encode::a_auto_decode_file
,cmd::a_shell_open
… - rayon cmd?
- async-trait fs? parse?
- glib linux dragonfly freebsd openbsd netbsd dialog?
- libc unix fs_ext?
- rfd mac win linux dragonfly freebsd openbsd netbsd dialog?
- winapi win fs_ext?