Loading openssl-sys/build/cfgs.rs +1 −0 Original line number Diff line number Diff line #[allow(clippy::unusual_byte_groupings)] pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<&'static str> { let mut cfgs = vec![]; Loading openssl-sys/build/main.rs +1 −8 Original line number Diff line number Diff line #![allow( clippy::inconsistent_digit_grouping, clippy::uninlined_format_args, clippy::unusual_byte_groupings )] #[cfg(feature = "bindgen")] extern crate bindgen; extern crate cc; Loading Loading @@ -131,7 +125,6 @@ fn main() { } } #[allow(clippy::let_and_return)] fn postprocess(include_dirs: &[PathBuf]) -> Version { let version = validate_headers(include_dirs); Loading @@ -146,7 +139,7 @@ fn postprocess(include_dirs: &[PathBuf]) -> Version { /// Validates the header files found in `include_dir` and then returns the /// version string of OpenSSL. #[allow(clippy::manual_strip)] // we need to support pre-1.45.0 #[allow(clippy::unusual_byte_groupings)] fn validate_headers(include_dirs: &[PathBuf]) -> Version { // This `*-sys` crate only works with OpenSSL 1.0.1, 1.0.2, 1.1.0, 1.1.1 and 3.0.0. // To correctly expose the right API from this crate, take a look at Loading openssl-sys/src/lib.rs +0 −4 Original line number Diff line number Diff line #![allow( clippy::missing_safety_doc, clippy::unreadable_literal, clippy::uninlined_format_args, clippy::upper_case_acronyms, dead_code, non_camel_case_types, non_snake_case, non_upper_case_globals, overflowing_literals, unused_imports )] #![cfg_attr(feature = "unstable_boringssl", allow(ambiguous_glob_reexports))] Loading Loading
openssl-sys/build/cfgs.rs +1 −0 Original line number Diff line number Diff line #[allow(clippy::unusual_byte_groupings)] pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<&'static str> { let mut cfgs = vec![]; Loading
openssl-sys/build/main.rs +1 −8 Original line number Diff line number Diff line #![allow( clippy::inconsistent_digit_grouping, clippy::uninlined_format_args, clippy::unusual_byte_groupings )] #[cfg(feature = "bindgen")] extern crate bindgen; extern crate cc; Loading Loading @@ -131,7 +125,6 @@ fn main() { } } #[allow(clippy::let_and_return)] fn postprocess(include_dirs: &[PathBuf]) -> Version { let version = validate_headers(include_dirs); Loading @@ -146,7 +139,7 @@ fn postprocess(include_dirs: &[PathBuf]) -> Version { /// Validates the header files found in `include_dir` and then returns the /// version string of OpenSSL. #[allow(clippy::manual_strip)] // we need to support pre-1.45.0 #[allow(clippy::unusual_byte_groupings)] fn validate_headers(include_dirs: &[PathBuf]) -> Version { // This `*-sys` crate only works with OpenSSL 1.0.1, 1.0.2, 1.1.0, 1.1.1 and 3.0.0. // To correctly expose the right API from this crate, take a look at Loading
openssl-sys/src/lib.rs +0 −4 Original line number Diff line number Diff line #![allow( clippy::missing_safety_doc, clippy::unreadable_literal, clippy::uninlined_format_args, clippy::upper_case_acronyms, dead_code, non_camel_case_types, non_snake_case, non_upper_case_globals, overflowing_literals, unused_imports )] #![cfg_attr(feature = "unstable_boringssl", allow(ambiguous_glob_reexports))] Loading