Cargo Features
[dependencies]
lnurl-rs = { version = "0.8.0", default-features = false, features = ["blocking", "async", "async-https"] }
- default = async, async-https, blocking
-
These default features are set whenever
lnurl-rs
is added without
somewhere in the dependency tree.default-features = false - blocking default = ureq
-
Affects
lnurl-rs::blocking
… - async default async-https = reqwest
-
Affects
lnurl-rs::r#async
… - async-https default = async
-
Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
Affects
lnurl-rs::r#async
…
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.