Cargo Features

clique-sibyl-commonlib has no features set by default.

[dependencies]
clique-sibyl-commonlib = { version = "2.3.2", features = ["tdx_attest", "rustls-0_20", "rustls-0_21", "rustls-0_22", "rustls-0_23", "wasm"] }
default

Supports custom rustls versions with feature names consistent with actix-web

tdx_attest = libc
rustls-0_20 dev = rustls-020

Enables rustls-0_20 of actix-web and awc

actix-web:

TLS via Rustls v0.20

Affects clique-sibyl-commonlib::tls

rustls-0_21 dev = rustls-021

Enables rustls-0_21 of actix-web and awc

actix-web:

TLS via Rustls v0.21

Affects clique-sibyl-commonlib::tls

rustls-0_22 dev = rustls-022

Enables rustls-0_22-webpki-roots of awc and rustls-0_22 of actix-web

actix-web:

TLS via Rustls v0.22

Affects clique-sibyl-commonlib::tls

rustls-0_23 dev = rustls-023

Enables rustls-0_23 of actix-web and awc

actix-web:

TLS via Rustls v0.23

Affects config::create_tls_client_config, clique-sibyl-commonlib::tls

wasm = wasm-bindgen

You should disable default feature and rustls feature if enable wasm feature

Enables js of getrandom

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.

wasm-bindgen wasm?
getrandom wasm?
rustls-020 rustls-0_20?

Enables rustls ^0.20.9

Optional dependencies for different versions of rustls

rustls-021 rustls-0_21?

Enables rustls ^0.21.12

rustls-022 rustls-0_22?

Enables rustls ^0.22.4

rustls-023 rustls-0_23?

Enables rustls

libc tdx_attest?