|
49 | 49 | //! |
50 | 50 | //! ### Miscellaneous features |
51 | 51 | //! |
52 | | -//! Miscellaneous optional features. |
53 | | -//! |
54 | 52 | //! - `bloom`: Enabled by default. Enables `BloomTokenLog`, and uses it by default. |
55 | 53 | //! - `platform-verifier`: Enabled by default. Provides `ClientConfig::with_platform_verifier()` convenience method. |
56 | 54 | //! - `futures-io`: Enables `futures::io::{AsyncRead, AsyncWrite}` support for streams. |
|
68 | 66 | //! ### Crypto features |
69 | 67 | //! |
70 | 68 | //! The three supported rustls backends are rustls+ring, rustls+aws-lc-rs and rustls+aws-lc-rs-fips. |
71 | | -//! Note the feature defaults for rustls is to use aws-lc-rs and the default for quinn is to use ring. This means you might |
72 | | -//! want `default-features = false` one one library or the other if you don't intend to use multiple rustls backends. |
| 69 | +//! Note the feature default for rustls is to use aws-lc-rs and the default for quinn is to use ring. This means you might |
| 70 | +//! want `default-features = false` on one library or the other if you don't intend to use multiple rustls backends. |
73 | 71 | //! |
74 | 72 | //! - `rustls-ring`: Enables ring crypto backend for quinn and rustls. Requires the `ring` feature. |
75 | 73 | //! - `ring`: Will enable ring for quinn only. Generally used with `rustls-ring`. |
|
85 | 83 | //! smol runtime features enabled. If you're using a different or custom runtime you'll need to use `Endpoint::new` and |
86 | 84 | //! pass in a `Arc<dyn Runtime>` directly. |
87 | 85 | //! |
88 | | -//! - `runtime-tokio` - Enable integration with the tokio async runtime. |
89 | | -//! - `runtime-smol` - Enable integration with the smol runtime. |
90 | | -//! - `smol` - Also enable integration with the smol runtime. |
| 86 | +//! - `runtime-tokio`: Enable integration with the tokio async runtime. |
| 87 | +//! - `runtime-smol`: Enable integration with the smol runtime. |
| 88 | +//! - `smol`: Also enable integration with the smol runtime. |
91 | 89 | //! - `async-io`: Also required to enable integration with the smol runtime. |
92 | 90 | #![warn(missing_docs)] |
93 | 91 | #![warn(unreachable_pub)] |
|
0 commit comments