Cargo Features

cfun has no features set by default.

[dependencies]
cfun = { version = "0.1.11", features = ["full", "net", "log", "dc", "crypto", "winapi", "cmd", "dism", "common"] }
full = common, dism, winapi
net common? = futures, reqwest, sysinfo, tokio, tokio-util

Affects c_net::IpAddress, c_net::list_ip_address, c_net::block_download_file

log common? = tracing-appender, tracing-subscriber

Affects c_log::CLogLevel, c_log::default_console_log, c_log::default_file_log, c_log::default_log

dc common? = bzip2

Affects c_dc::bzip2_cmpr, c_dc::bzip2_decmpr

crypto common? = base64, md-5, sha2

Affects c_crypto::md5, c_crypto::sha256, c_crypto::base64_encode, c_crypto::base64_decode

winapi full? = windows

Affects c_winapi::get_process_id_by_name, c_winapi::ServStatus, c_winapi::sc_query, c_winapi::runas, c_winapi::current_is_admin, c_winapi::enable_virtual_terminal, c_winapi::msi_install, c_winapi::msi_get_version

cmd common? = anstyle, clap

Affects c_cmd::clap_help_styles

dism full? = libloading

Affects c_dism::DismSession, c_dism::RawDismCustomProperty, c_dism::RawDismFeatureInfo, c_dism::DismCustomProperty, c_dism::DismPackageFeatureState, c_dism::DismRestartType, c_dism::DismFeatureInfo, c_dism::DismLogLevel, c_dism::DismInitialize, c_dism::DISM_ONLINE_IMAGE, c_dism::DismOpenSession, c_dism::DismPackageIdentifier, c_dism::DismGetFeatureInfo, c_dism::DismEnableFeature, c_dism::DismCloseSession, c_dism::DismShutdown

common full? = cmd, crypto, dc, log, net

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.

tracing-subscriber log?
tracing-appender log?
md-5 crypto?
sha2 crypto?
bzip2 dc?
sysinfo net?
tokio net?

Affects c_lfmap::LFMap, c_tokio::FrameSender, c_tokio::FrameReceiver, c_tokio::frame_stream_split, c_tokio::frame_stream_combined, c_tokio::proxy_tcpstream

base64 crypto?
clap cmd?
anstyle cmd?
tokio-util net?
futures net?
libloading dism?
reqwest net?
windows win winapi?