Cargo Features
[dependencies]
sn_api = { version = "0.82.1", default-features = false, features = ["authenticator", "app", "check-replicas", "cmd-happy-path", "query-happy-path", "msg-happy-path", "limit-client-upload-size", "test-utils"] }
- default = app, authd_client, authenticator
-
These default features are set whenever
sn_api
is added without
somewhere in the dependency tree.default-features = false - authenticator default = rand-07
- authd_client app default
- check-replicas
-
Enables check-replicas of sn_client ^0.84.1
- cmd-happy-path
-
Enables cmd-happy-path of sn_client ^0.84.1
- query-happy-path
-
Enables query-happy-path of sn_client ^0.84.1
- msg-happy-path
-
Enables msg-happy-path of sn_client ^0.84.1
- limit-client-upload-size
-
Enables limit-client-upload-size of sn_client ^0.84.1
- test-utils = anyhow, async_once, tracing-subscriber
-
Enables test-utils of sn_client ^0.84.1 and sn_interface
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.