Cargo Features

exocore-core has no features set by default.

exocore-core = { version = "0.1.25", features = ["logger", "runtime", "tests-utils", "web"] }
logger tests-utils? = log4rs

Affects exocore-core::logging

runtime tests-utils?

Enables io-std, io-util, macros, net, rt-multi-thread, sync and time of tokio

tests-utils = logger, runtime
web = web-sys

Enables js of getrandom


Feature to enable JavaScript bindings on wasm*-unknown-unknown

Affects dir::web

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

log4rs logger?
web-sys web?

Enables web-sys