Cargo Features

nanocl_utils has no features set by default.

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

Enables env_logger ^0.10 and log

Affects nanocl_utils::logger

ntex ntex_swagger?

Enables futures, ntex ^0.7, and serde_json

Affects nanocl_utils::ntex

ntex_swagger = ntex

Enables utoipa and utoipa-swagger-ui ^5.0, 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 ^0.7 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?