Cargo Features

[dependencies]
ckb-sdk = { version = "3.4.1", default-features = false, features = ["default-tls", "native-tls-vendored", "rustls-tls", "test", "rand"] }
default = default-tls

The default-tls feature is set by default whenever ckb-sdk is added without default-features = false somewhere in the dependency tree.

default-tls default

Enables default-tls of reqwest ^0.11

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

native-tls-vendored

Enables native-tls-vendored of reqwest ^0.11

rustls-tls

Enables rustls-tls of reqwest ^0.11

test

Affects ckb-sdk::test_util

Features from optional dependencies

rand implicit feature

Enables rand ^0.7.3

for feature test