Skip to content

Commit

Permalink
Update crate-level attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Nov 15, 2023
1 parent 2774b8a commit 633ff2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
name = "semval"
description = "Semantic validation"
keywords = ["semantic", "validation"]
version = "0.5.0"
version = "0.5.1"
license = "MPL-2.0"
readme = "README.md"
authors = ["slowtec GmbH <[email protected]>", "Uwe Klotz <[email protected]>"]
Expand Down
12 changes: 9 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
// SPDX-FileCopyrightText: slowtec GmbH
// SPDX-License-Identifier: MPL-2.0

// Opt-in for allowed-by-default lints (in alphabetical order)
// See also: <https://doc.rust-lang.org/rustc/lints>
#![warn(future_incompatible)]
#![warn(let_underscore)]
#![warn(missing_debug_implementations)]
#![warn(rust_2018_idioms)]
#![warn(rust_2021_compatibility)]
#![warn(missing_debug_implementations)]
#![warn(unreachable_pub)]
#![warn(unsafe_code)]
#![warn(rustdoc::broken_intra_doc_links)]
#![warn(unused)]
// Clippy lints
#![warn(clippy::pedantic)]
// Additional restrictions
#![warn(clippy::clone_on_ref_ptr)]
#![warn(clippy::missing_const_for_fn)]
#![warn(clippy::self_named_module_files)]
#![warn(clippy::mod_module_files)]
// Repeating the type name in `..Default::default()` expressions
// is not needed since the context is obvious.
#![allow(clippy::default_trait_access)]
// Opt-out of feature "std"
#![cfg_attr(not(feature = "std"), no_std)]

//! # semval
Expand Down

0 comments on commit 633ff2a

Please sign in to comment.