Cargo Features

[dependencies]
ate = { version = "1.3.0", default-features = false, features = ["enable_verbose", "enable_super_verbose", "enable_openssl", "enable_buffered", "enable_local_fs", "enable_rotate", "enable_caching", "enable_client", "enable_server", "enable_dio_backtrace", "enable_ntp", "enable_web_sys", "enable_mt", "enable_dns", "enable_full", "client_web", "client", "server", "sys"] }
default = client, enable_mt, server

These default features are set whenever ate is added without default-features = false somewhere in the dependency tree.

enable_verbose enable_super_verbose?
enable_super_verbose = enable_verbose
enable_openssl
enable_buffered enable_full? = async-executor
enable_local_fs enable_full?

Affects conf_ate::ConfAte.log_path, conf_ate::ConfAte.backup_path, conf_ate::ConfAte.load_cache_size, conf_ate::ConfAte.load_cache_ttl

enable_rotate enable_full?

Affects log_traits::LogFile.rotate

enable_caching enable_full?
enable_client client client_web? server

Affects mesh::ConfMesh.force_client_only, mesh::ConfMesh.force_connect, mesh::ConfMesh.buffer_size_client, mesh::create_client, mesh::create_persistent_client, mesh::create_temporal_client

enable_server server = hyper-tungstenite

Affects mesh::ConfMesh.force_listen, mesh::ConfMesh.force_port, mesh::ConfMesh.listen_min_encryption, mesh::ConfMesh.listen_certificate, mesh::ConfMesh.force_node_id, mesh::ConfMesh.accept_timeout, mesh::ConfMesh.buffer_size_server, ate::flow, mesh::create_persistent_centralized_server, mesh::create_persistent_distributed_server, mesh::create_ethereal_centralized_server, mesh::create_ethereal_distributed_server, mesh::create_server

enable_dio_backtrace

Affects dio_mut::DioMut.backtrace_new

enable_ntp enable_full?

Affects conf_ate::ConfAte.ntp_pool, conf_ate::ConfAte.ntp_port, conf_ate::ConfAte.ntp_sync, keeper::TimeKeeper.ntp_pool, keeper::TimeKeeper.ntp_port

enable_web_sys client_web?
enable_mt default

Enables rt-multi-thread of tokio

enable_dns enable_full? = pnet, trust-dns-client, trust-dns-proto

Enables dns of ate-comms

Affects mesh_address::MeshAddress.host, mesh_address::MeshConnectAddr, ate::dns

enable_full client server = enable_buffered, enable_caching, enable_dns, enable_local_fs, enable_ntp, enable_rotate, tokio-tungstenite

Enables fs, io-util, net, rt and time of tokio

client_web = enable_client, enable_web_sys
client default = enable_client, enable_full, sys
server default = enable_client, enable_full, enable_server, sys
sys client server

Enables sys of ate-comms, wasmer-bus, and wasmer-bus-ws

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.

async-executor enable_buffered?
hyper-tungstenite not wasm enable_server?

Enables hyper-tungstenite ^0.6

pnet not wasm enable_dns?

Enables pnet ^0.27

tokio-tungstenite not wasm enable_full?

Enables tokio-tungstenite ^0.16

trust-dns-client not wasm enable_dns?

Enables trust-dns-client ^0.20

trust-dns-proto not wasm enable_dns?

Enables trust-dns-proto ^0.20