Fix clippy lints re: docs indentation + unused feature
This commit is contained in:
parent
5dce4d331b
commit
04abc99fb2
|
|
@ -78,15 +78,15 @@
|
||||||
//! agreements:
|
//! agreements:
|
||||||
//!
|
//!
|
||||||
//! - `X25519Kyber768Draft00Old` is the same as `X25519Kyber768Draft00`, but under its old codepoint.
|
//! - `X25519Kyber768Draft00Old` is the same as `X25519Kyber768Draft00`, but under its old codepoint.
|
||||||
//! -`X25519Kyber512Draft00`. Similar to `X25519Kyber768Draft00`, but uses level 1 parameter set for
|
//! - `X25519Kyber512Draft00`. Similar to `X25519Kyber768Draft00`, but uses level 1 parameter set for
|
||||||
//! Kyber. Not recommended. It's useful to test whether the shorter ClientHello upsets fewer middle
|
//! Kyber. Not recommended. It's useful to test whether the shorter ClientHello upsets fewer middle
|
||||||
//! boxes.
|
//! boxes.
|
||||||
//! - `P256Kyber768Draft00`. Similar again to `X25519Kyber768Draft00`, but uses P256 as classical
|
//! - `P256Kyber768Draft00`. Similar again to `X25519Kyber768Draft00`, but uses P256 as classical
|
||||||
//! part. It uses a non-standard codepoint. Not recommended.
|
//! part. It uses a non-standard codepoint. Not recommended.
|
||||||
//! - `IPDWing`. A preliminary version of
|
//! - `IPDWing`. A preliminary version of
|
||||||
//! [X-Wing](https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/02/).
|
//! [X-Wing](https://datatracker.ietf.org/doc/draft-connolly-cfrg-xwing-kem/02/).
|
||||||
//! Similar to `X25519Kyber768Draft00Old`, but uses a newer (but not yet final) version of Kyber
|
//! Similar to `X25519Kyber768Draft00Old`, but uses a newer (but not yet final) version of Kyber
|
||||||
//! called ML-KEM-ipd. Not recommended.
|
//! called ML-KEM-ipd. Not recommended.
|
||||||
//!
|
//!
|
||||||
//! Presently all these key agreements are deployed by Cloudflare, but we do not guarantee continued
|
//! Presently all these key agreements are deployed by Cloudflare, but we do not guarantee continued
|
||||||
//! support for them.
|
//! support for them.
|
||||||
|
|
|
||||||
|
|
@ -534,9 +534,9 @@ impl SelectCertError {
|
||||||
|
|
||||||
/// Extension types, to be used with `ClientHello::get_extension`.
|
/// Extension types, to be used with `ClientHello::get_extension`.
|
||||||
///
|
///
|
||||||
/// NOTE: The current implementation of `From` is unsound, as it's possible to create an ExtensionType
|
/// **WARNING**: The current implementation of `From` is unsound, as it's possible to create an
|
||||||
/// that is not defined by the impl. `From` will be deprecated in favor of `TryFrom` in the next
|
/// ExtensionType that is not defined by the impl. `From` will be deprecated in favor of `TryFrom`
|
||||||
/// major bump of the library.
|
/// in the next major bump of the library.
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||||
pub struct ExtensionType(u16);
|
pub struct ExtensionType(u16);
|
||||||
|
|
||||||
|
|
@ -645,7 +645,7 @@ impl fmt::Display for SslVersion {
|
||||||
|
|
||||||
/// A signature verification algorithm.
|
/// A signature verification algorithm.
|
||||||
///
|
///
|
||||||
/// NOTE: The current implementation of `From` is unsound, as it's possible to create an
|
/// **WARNING**: The current implementation of `From` is unsound, as it's possible to create an
|
||||||
/// SslSignatureAlgorithm that is not defined by the impl. `From` will be deprecated in favor of
|
/// SslSignatureAlgorithm that is not defined by the impl. `From` will be deprecated in favor of
|
||||||
/// `TryFrom` in the next major bump of the library.
|
/// `TryFrom` in the next major bump of the library.
|
||||||
#[repr(transparent)]
|
#[repr(transparent)]
|
||||||
|
|
|
||||||
|
|
@ -469,7 +469,7 @@ fn refcount_ssl_context() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg_attr(target_os = "windows", ignore)]
|
#[cfg_attr(target_os = "windows", ignore)]
|
||||||
#[cfg_attr(all(target_os = "macos", feature = "vendored"), ignore)]
|
#[cfg_attr(all(target_os = "macos"), ignore)]
|
||||||
fn default_verify_paths() {
|
fn default_verify_paths() {
|
||||||
let mut ctx = SslContext::builder(SslMethod::tls()).unwrap();
|
let mut ctx = SslContext::builder(SslMethod::tls()).unwrap();
|
||||||
ctx.set_default_verify_paths().unwrap();
|
ctx.set_default_verify_paths().unwrap();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue