Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some lints and allow(unknown_lints). #120

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions psa-crypto-sys/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright 2020 Contributors to the Parsec project.
// SPDX-License-Identifier: Apache-2.0

#![allow(unknown_lints)]
#![deny(
nonstandard_style,
dead_code,
Expand All @@ -10,8 +11,12 @@
overflowing_literals,
path_statements,
patterns_in_fns_without_body,
private_bounds,
egrimley-arm marked this conversation as resolved.
Show resolved Hide resolved
private_in_public,
private_interfaces,
renamed_and_removed_lints,
unconditional_recursion,
unnameable_types,
unused,
unused_allocation,
unused_comparisons,
Expand Down
5 changes: 5 additions & 0 deletions psa-crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
//! This abstraction is built on top of the `psa-crypto-sys` crate.
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(unknown_lints)]
#![deny(
nonstandard_style,
dead_code,
Expand All @@ -19,8 +20,12 @@
overflowing_literals,
path_statements,
patterns_in_fns_without_body,
private_bounds,
egrimley-arm marked this conversation as resolved.
Show resolved Hide resolved
private_in_public,
private_interfaces,
renamed_and_removed_lints,
unconditional_recursion,
unnameable_types,
unused,
unused_allocation,
unused_comparisons,
Expand Down