Cargo Features
[dependencies]
multiversx-sc-snippets = { version = "0.54.5", default-features = false, features = ["http", "dapp", "default-tls", "static-tls"] }
- default = default-tls, http
-
These default features are set whenever
multiversx-sc-snippets
is added without
somewhere in the dependency tree.default-features = false - http default = multiversx-sdk-http, tokio
-
Affects
multiversx-sc-snippets::HttpInteractor
,multiversx-sc-snippets::Interactor
… - dapp = multiversx-sdk-dapp
-
Affects
multiversx-sc-snippets::DappInteractor
… - default-tls default
-
Enables default-tls of multiversx-sdk-http
- static-tls
-
Enables static-tls of multiversx-sdk-http
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.