Cargo Features
[dependencies]
nacos-sdk = { version = "0.4.2", default-features = false, features = ["config", "naming", "tls", "auth-by-http", "auth-by-aliyun"] }
- default = auth-by-http, config, naming
-
These default features are set whenever
nacos-sdk
is added without
somewhere in the dependency tree.default-features = false - config default
-
Affects
api::config
… - naming default
-
Affects
api::naming
… - tls
-
Enables default-tls of reqwest
now only for feature="auth-by-http"
- auth-by-http default = reqwest
- auth-by-aliyun = base64, chrono, ring
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?
- ring auth-by-aliyun?
-
Enables ring
only for aliyun-ram-auth
- base64 auth-by-aliyun?
- chrono auth-by-aliyun?