Skip to content

Commit 9d120d4

Browse files
committed
Add correctness and soundness annotations
1 parent a22931a commit 9d120d4

File tree

3 files changed

+161
-67
lines changed

3 files changed

+161
-67
lines changed

lib/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 2.7.1-git
4+
5+
### Patch
6+
7+
- Move lints from `src/lib.rs` to `Cargo.toml` to ignore MSRV restrictions
8+
39
## 2.7.0
410

511
### Minor

lib/Cargo.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "data-encoding"
3-
version = "2.7.0"
3+
version = "2.7.1-git"
44
authors = ["Julien Cretin <[email protected]>"]
55
license = "MIT"
66
edition = "2018"
@@ -21,3 +21,13 @@ rustdoc-args = ["--cfg=docsrs"]
2121
default = ["std"]
2222
alloc = []
2323
std = ["alloc"]
24+
25+
[lints]
26+
clippy.undocumented-unsafe-blocks = "warn"
27+
rust.elided-lifetimes-in-paths = "warn"
28+
rust.let-underscore-drop = "warn"
29+
rust.missing-debug-implementations = "warn"
30+
rust.missing-docs = "warn"
31+
rust.unreachable_pub = "warn"
32+
rust.unsafe-op-in-unsafe-fn = "warn"
33+
rust.unused-results = "warn"

0 commit comments

Comments
 (0)