Skip to content

Commit 39ee3ef

Browse files
committed
Add correctness and soundness annotations
1 parent a22931a commit 39ee3ef

File tree

7 files changed

+174
-74
lines changed

7 files changed

+174
-74
lines changed

bin/CHANGELOG.md

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

3+
## 0.3.6-git
4+
5+
### Patch
6+
7+
- Update `data-encoding` version
8+
39
## 0.3.5
410

511
### Minor

bin/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "data-encoding-bin"
3-
version = "0.3.5"
3+
version = "0.3.6-git"
44
authors = ["Julien Cretin <git@ia0.eu>"]
55
license = "MIT"
66
edition = "2021"
@@ -17,5 +17,5 @@ name = "data-encoding"
1717
path = "src/main.rs"
1818

1919
[dependencies]
20-
data-encoding = { version = "2.7.0", path = "../lib" }
20+
data-encoding = { version = "2.7.1-git", path = "../lib" }
2121
getopts = "0.2"

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 <git@ia0.eu>"]
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"

lib/macro/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "data-encoding-macro"
3-
version = "0.1.16"
3+
version = "0.1.17-git"
44
authors = ["Julien Cretin <cretin@google.com>"]
55
license = "MIT"
66
edition = "2018"
@@ -14,5 +14,5 @@ description = "Macros for data-encoding"
1414
include = ["Cargo.toml", "LICENSE", "README.md", "src/lib.rs"]
1515

1616
[dependencies]
17-
data-encoding = { version = "2.7.0", path = "..", default-features = false }
18-
data-encoding-macro-internal = { version = "0.1.14", path = "internal" }
17+
data-encoding = { version = "2.7.1-git", path = "..", default-features = false }
18+
data-encoding-macro-internal = { version = "0.1.15-git", path = "internal" }

lib/macro/internal/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "data-encoding-macro-internal"
3-
version = "0.1.14"
3+
version = "0.1.15-git"
44
authors = ["Julien Cretin <cretin@google.com>"]
55
license = "MIT"
66
edition = "2018"
@@ -14,7 +14,7 @@ include = ["Cargo.toml", "LICENSE", "README.md", "src/lib.rs"]
1414
proc-macro = true
1515

1616
[dependencies.data-encoding]
17-
version = "2.7.0"
17+
version = "2.7.1-git"
1818
path = "../.."
1919
default-features = false
2020
features = ["alloc"]

0 commit comments

Comments
 (0)