Cargo Features

[dependencies]
lnurl-rs = { version = "0.9.0", default-features = false, features = ["blocking", "async", "async-https", "async-https-native", "async-https-rustls"] }
default = async, async-https, blocking

These default features are set whenever lnurl-rs is added without default-features = false somewhere in the dependency tree.

blocking default = ureq

Enables socks of ureq

Affects lnurl-rs::blocking

async default async-https-native? async-https-rustls? = reqwest

Enables socks of reqwest

Affects lnurl-rs::r#async

async-https default = async-https-native

deprecated

Affects lnurl-rs::r#async

async-https-native async-https = async

Enables default-tls of reqwest

reqwest:

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

async-https-rustls = async

Enables rustls-tls of reqwest

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.

ureq blocking
reqwest async async-https-native? async-https-rustls?