Cargo Features

[dependencies]
nacos-sdk = { version = "0.3.6", default-features = false, features = ["config", "naming", "tls", "auth-by-http", "async"] }
default = auth-by-http, config, naming

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

config default

Affects api::config

naming default

Affects api::naming

tls

Enables default-tls of reqwest ^0.11

now only for feature="auth-by-http"

auth-by-http default = reqwest
async

Affects config::ConfigService, naming::NamingService

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.

reqwest auth-by-http tls?

Enables reqwest ^0.11