Cargo Features
[dependencies]
upcloud-rs = { version = "0.1.4", default-features = false, features = ["default-rustls", "blocking", "nativetls", "rustls", "gzip", "brotli", "deflate"] }
- default = nativetls
-
The
nativetls
feature is set by default wheneverupcloud-rs
is added without
somewhere in the dependency tree.default-features = false - default-rustls = rustls
- blocking
-
Enables reqwest ^0.11.22
- nativetls default
-
Enables default-tls of reqwest ^0.11.22
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls default-rustls?
-
Enables rustls-tls of reqwest ^0.11.22
- gzip
-
Enables gzip of reqwest ^0.11.22
- brotli
-
Enables brotli of reqwest ^0.11.22
- deflate
-
Enables deflate of reqwest ^0.11.22
upcloud-rs has 8 features without comments.