File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 62
62
//! # Ok(())
63
63
//! # }
64
64
//! ```
65
+ //!
66
+ //! ## Optional Features
67
+ //!
68
+ //! The following are a list of [Cargo features](https://doc.rust-lang.org/stable/cargo/reference/manifest.html#the-features-section) that can be
69
+ //! enabled or disabled:
70
+ //!
71
+ //! - **fs**: Enables file system related functionalities.
72
+ //! - **unstable**: Enables experimental or in-development `mithril-client` features that may change.
73
+ //! - **native-tls** *(enabled by default)*: Enables TLS functionality provided by `native-tls`.
74
+ //! - **native-tls-vendored**: Enables the `vendored` feature of `native-tls`.
75
+ //! - **native-tls-alpn**: Enables the `alpn` feature of `native-tls`.
76
+ //! - **rustls-tls**: Enables TLS functionality provided by `rustls`.
77
+ //! Equivalent to `rustls-tls-webpki-roots`.
78
+ //! - **rustls-tls-manual-roots**: Enables TLS functionality provided by `rustls`,
79
+ //! without setting any root certificates. Roots have to be specified manually.
80
+ //! - **rustls-tls-webpki-roots**: Enables TLS functionality provided by `rustls`,
81
+ //! while using root certificates from the `webpki-roots` crate.
82
+ //! - **rustls-tls-native-roots**: Enables TLS functionality provided by `rustls`,
83
+ //! while using root certificates from the `rustls-native-certs` crate.
84
+ //! - **enable-http-compression** *(enabled by default)*: Enables compressed traffic with `reqwest`.
85
+ //! - **rug-backend** *(enabled by default)*: Enables `rug-backend` features for `mithril-common` dependency.
86
+ //! - **num-integer-backend**: Enables `num-integer-backend` features for `mithril-common` dependency.
65
87
66
88
macro_rules! cfg_fs {
67
89
( $( $item: item) * ) => {
You can’t perform that action at this time.
0 commit comments