Cargo Features

[dependencies]
e-utils = { version = "0.3.74", default-features = false, features = ["std", "alloc", "fs", "fs_ext", "uuid_v4", "base64", "algorithm", "ui", "macros", "images", "http", "http-blocking", "http-json", "cmd", "encode", "dialog"] }
default = std

The std feature is set by default whenever e-utils is added without default-features = false somewhere in the dependency tree.

std default
alloc
fs cmd? fs_ext?

Affects cmd::shell_open

fs_ext = fs, libc, winapi

Enables fileapi, handleapi, minwinbase, processthreadsapi, winbase and winerror of winapi

uuid_v4 = uuid

Enables fast-rng, macro-diagnostics and v4 of uuid

base64
algorithm = rand
ui = e-macros, winapi

Enables winuser of winapi

Affects parse::hwnd_serializer

macros = e-macros
images = image
http = reqwest
http-blocking

Enables blocking of reqwest

http-json

Enables json of reqwest

cmd = encode, fs

Affects system::cmd

encode cmd? = chardet, encoding_rs

Affects _fs::auto_read, _fs::auto_read_gpk, _fs::write_gbk, _fs::write_utf8, _fs::async_runtime.async_write_gbk, _fs::async_runtime.async_write_utf8, system::encode

dialog = glib, rfd, tokio

Enables tokio and xdg-portal of rfd ^0.14.0 and full of tokio

tokio:

enable everything

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 http? http-blocking? http-json?
uuid uuid_v4?
rand algorithm?
e-macros macros? ui?
image images?
encoding_rs encode?
chardet encode?
tokio dialog?

Affects dialog::a_sync, _fs::async_runtime, e-utils::async_runtime

glib linux dragonfly freebsd openbsd netbsd dialog?
libc unix fs_ext?
rfd mac win linux dragonfly freebsd openbsd netbsd dialog?

Enables rfd ^0.14.0

winapi win fs_ext? ui?