Skip to content

Commit

Permalink
Add correctness and soundness annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Jan 25, 2025
1 parent a22931a commit a04cd45
Show file tree
Hide file tree
Showing 7 changed files with 174 additions and 74 deletions.
6 changes: 6 additions & 0 deletions bin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.3.6-git

### Patch

- Update `data-encoding` version

## 0.3.5

### Minor
Expand Down
4 changes: 2 additions & 2 deletions bin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-encoding-bin"
version = "0.3.5"
version = "0.3.6-git"
authors = ["Julien Cretin <git@ia0.eu>"]
license = "MIT"
edition = "2021"
Expand All @@ -17,5 +17,5 @@ name = "data-encoding"
path = "src/main.rs"

[dependencies]
data-encoding = { version = "2.7.0", path = "../lib" }
data-encoding = { version = "2.7.1-git", path = "../lib" }
getopts = "0.2"
6 changes: 6 additions & 0 deletions lib/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 2.7.1-git

### Patch

- Move lints from `src/lib.rs` to `Cargo.toml` to ignore MSRV restrictions

## 2.7.0

### Minor
Expand Down
12 changes: 11 additions & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-encoding"
version = "2.7.0"
version = "2.7.1-git"
authors = ["Julien Cretin <git@ia0.eu>"]
license = "MIT"
edition = "2018"
Expand All @@ -21,3 +21,13 @@ rustdoc-args = ["--cfg=docsrs"]
default = ["std"]
alloc = []
std = ["alloc"]

[lints]
clippy.undocumented-unsafe-blocks = "warn"
rust.elided-lifetimes-in-paths = "warn"
rust.let-underscore-drop = "warn"
rust.missing-debug-implementations = "warn"
rust.missing-docs = "warn"
rust.unreachable_pub = "warn"
rust.unsafe-op-in-unsafe-fn = "warn"
rust.unused-results = "warn"
6 changes: 3 additions & 3 deletions lib/macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-encoding-macro"
version = "0.1.16"
version = "0.1.17-git"
authors = ["Julien Cretin <cretin@google.com>"]
license = "MIT"
edition = "2018"
Expand All @@ -14,5 +14,5 @@ description = "Macros for data-encoding"
include = ["Cargo.toml", "LICENSE", "README.md", "src/lib.rs"]

[dependencies]
data-encoding = { version = "2.7.0", path = "..", default-features = false }
data-encoding-macro-internal = { version = "0.1.14", path = "internal" }
data-encoding = { version = "2.7.1-git", path = "..", default-features = false }
data-encoding-macro-internal = { version = "0.1.15-git", path = "internal" }
4 changes: 2 additions & 2 deletions lib/macro/internal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-encoding-macro-internal"
version = "0.1.14"
version = "0.1.15-git"
authors = ["Julien Cretin <cretin@google.com>"]
license = "MIT"
edition = "2018"
Expand All @@ -14,7 +14,7 @@ include = ["Cargo.toml", "LICENSE", "README.md", "src/lib.rs"]
proc-macro = true

[dependencies.data-encoding]
version = "2.7.0"
version = "2.7.1-git"
path = "../.."
default-features = false
features = ["alloc"]
Expand Down
Loading

0 comments on commit a04cd45

Please sign in to comment.