Cargo Features

nanocl_utils has no features set by default.

[dependencies]
nanocl_utils = { version = "0.5.0", features = ["dev", "logger", "ntex", "ntex_swagger", "unix", "versioning", "build_tools", "ntex_test_client", "test"] }
dev
logger

Enables env_logger and log

Affects nanocl_utils::logger

ntex ntex_swagger?

Enables futures, ntex ^1.2, and serde_json

Affects nanocl_utils::ntex

ntex_swagger = ntex

Enables utoipa and utoipa-swagger-ui, http of nanocl_error

Affects ntex::swagger

unix

Enables libc, io of nanocl_error

Affects nanocl_utils::unix

versioning

Affects nanocl_utils::versioning

build_tools

Enables clap and clap_mangen

Affects nanocl_utils::build_tools

ntex_test_client

Enables ntex ^1.2 and serde

Affects ntex::test_client

test

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.

nanocl_error ntex_swagger? unix?