clippy: explicitly allow unactionable lints

* `TlsProfile` is better off sticking to the style used in standards.

* `bearssl-sys` bindings can't be annotated with safety as they are
  autogenerated and have the same safety properties with the library
  itself.
main
Aydin Mercan 2022-09-06 22:30:14 +03:00
parent 14d4569001
commit 96e7e0936e
Signed by: jaiden
SSH Key Fingerprint: SHA256:vy6hjzotbn/MWZAbjzURNk3NL62EPkjoHsJ5xr/s7nk
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,8 @@
#![no_std]
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]
#![allow(clippy::missing_safety_doc)]
#[cfg(feature = "dont-assume-size_t-equals-uintptr_t")]
use libc::size_t;

View File

@ -1,3 +1,5 @@
#![allow(non_camel_case_types)]
pub enum KeyType {
Rsa,
EllipticCurve,