From e773b9bba73c2ecfaa83a6e4546349583971aae2 Mon Sep 17 00:00:00 2001 From: ia0 Date: Tue, 1 Sep 2026 15:35:39 +0200 Subject: [PATCH] Fix redundant explicit links in v3 doc --- bin/CHANGELOG.md | 6 ++++++ bin/Cargo.toml | 4 ++-- lib/CHANGELOG.md | 7 +++++++ lib/Cargo.toml | 18 +++++++++--------- lib/macro/Cargo.toml | 6 +++--- lib/macro/internal/Cargo.toml | 4 ++-- lib/src/lib.rs | 6 +++--- lib/v3/CHANGELOG.md | 2 ++ lib/v3/Cargo.toml | 24 ++++++++++++------------ lib/v3/src/lib.rs | 4 ++-- 10 files changed, 48 insertions(+), 33 deletions(-) diff --git a/bin/CHANGELOG.md b/bin/CHANGELOG.md index 041b9a1..29d9f5e 100644 --- a/bin/CHANGELOG.md +++ b/bin/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.3.11-git + +### Patch + +- Update `data-encoding` version + ## 0.3.10 ### Patch diff --git a/bin/Cargo.toml b/bin/Cargo.toml index d101aea..981068a 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "data-encoding-bin" -version = "0.3.10" +version = "0.3.11-git" license = "MIT" edition = "2021" rust-version = "1.81" @@ -16,5 +16,5 @@ name = "data-encoding" path = "src/main.rs" [dependencies] -data-encoding = { version = "2.11.1", path = "../lib" } +data-encoding = { version = "2.11.2-git", path = "../lib" } getopts = "0.2" diff --git a/lib/CHANGELOG.md b/lib/CHANGELOG.md index 437dcbf..087a505 100644 --- a/lib/CHANGELOG.md +++ b/lib/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 2.11.2-git + +### Patch + +- Fix `redundant_explicit_links` rustdoc lint +- Rename lints in `Cargo.toml` to use underscores + ## 2.11.1 ### Patch diff --git a/lib/Cargo.toml b/lib/Cargo.toml index ab8d3e7..1288e60 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "data-encoding" -version = "2.11.1" +version = "2.11.2-git" license = "MIT" edition = "2018" rust-version = "1.48" @@ -22,11 +22,11 @@ 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" +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" diff --git a/lib/macro/Cargo.toml b/lib/macro/Cargo.toml index f515b00..f89fa0a 100644 --- a/lib/macro/Cargo.toml +++ b/lib/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "data-encoding-macro" -version = "0.1.21" +version = "0.1.22-git" license = "MIT" edition = "2018" rust-version = "1.48" @@ -13,5 +13,5 @@ description = "Macros for data-encoding" include = ["Cargo.toml", "LICENSE", "README.md", "src/lib.rs"] [dependencies] -data-encoding = { version = "2.11.1", path = "..", default-features = false } -data-encoding-macro-internal = { version = "0.1.19", path = "internal" } +data-encoding = { version = "2.11.2-git", path = "..", default-features = false } +data-encoding-macro-internal = { version = "0.1.20-git", path = "internal" } diff --git a/lib/macro/internal/Cargo.toml b/lib/macro/internal/Cargo.toml index 9a20441..8c3e517 100644 --- a/lib/macro/internal/Cargo.toml +++ b/lib/macro/internal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "data-encoding-macro-internal" -version = "0.1.19" +version = "0.1.20-git" license = "MIT" edition = "2018" rust-version = "1.48" @@ -13,7 +13,7 @@ include = ["Cargo.toml", "LICENSE", "README.md", "src/lib.rs"] proc-macro = true [dependencies.data-encoding] -version = "2.11.1" +version = "2.11.2-git" path = "../.." default-features = false features = ["alloc"] diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 5b2cf39..225d6dc 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -900,7 +900,7 @@ pub type InternalEncoding = &'static [u8]; /// Base-conversion encoding /// -/// See [Specification](struct.Specification.html) for technical details or how to define a new one. +/// See [Specification] for technical details or how to define a new one. // Required fields: // 0 - 256 (256) symbols // 256 - 512 (256) values @@ -929,7 +929,7 @@ pub struct Encoding(#[doc(hidden)] pub InternalEncoding); /// The order matters. The first character of the `from` field is translated to the first character /// of the `to` field. The second to the second. Etc. /// -/// See [Specification](struct.Specification.html) for more information. +/// See [Specification] for more information. #[derive(Debug, Clone)] #[cfg(feature = "alloc")] pub struct Translate { @@ -942,7 +942,7 @@ pub struct Translate { /// How to wrap the output when encoding /// -/// See [Specification](struct.Specification.html) for more information. +/// See [Specification] for more information. #[derive(Debug, Clone)] #[cfg(feature = "alloc")] pub struct Wrap { diff --git a/lib/v3/CHANGELOG.md b/lib/v3/CHANGELOG.md index 91311f5..be8c9cb 100644 --- a/lib/v3/CHANGELOG.md +++ b/lib/v3/CHANGELOG.md @@ -4,6 +4,8 @@ ### Patch +- Fix `redundant_explicit_links` rustdoc lint +- Rename lints in `Cargo.toml` to use underscores - Use `iter().enumerate()` when possible - Encode by the greatest multiple of blocks that fits 128 bits - Use `doc_cfg` instead of `doc_auto_cfg` diff --git a/lib/v3/Cargo.toml b/lib/v3/Cargo.toml index 8285c7e..2b86004 100644 --- a/lib/v3/Cargo.toml +++ b/lib/v3/Cargo.toml @@ -22,16 +22,16 @@ alloc = [] std = ["alloc"] [lints] -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.unused-results = "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.unused_results = "warn" clippy.pedantic = { level = "warn", priority = -1 } -clippy.assigning-clones = "allow" -clippy.doc-markdown = "allow" -clippy.enum-glob-use = "allow" -clippy.match-bool = "allow" -clippy.semicolon-if-nothing-returned = "allow" -clippy.similar-names = "allow" +clippy.assigning_clones = "allow" +clippy.doc_markdown = "allow" +clippy.enum_glob_use = "allow" +clippy.match_bool = "allow" +clippy.semicolon_if_nothing_returned = "allow" +clippy.similar_names = "allow" diff --git a/lib/v3/src/lib.rs b/lib/v3/src/lib.rs index ea2117f..bac0005 100644 --- a/lib/v3/src/lib.rs +++ b/lib/v3/src/lib.rs @@ -1481,7 +1481,7 @@ use crate::BitOrder::*; /// The order matters. The first character of the `from` field is translated to the first character /// of the `to` field. The second to the second. Etc. /// -/// See [Specification](struct.Specification.html) for more information. +/// See [Specification] for more information. #[derive(Debug, Clone)] #[cfg(feature = "alloc")] pub struct Translate { @@ -1494,7 +1494,7 @@ pub struct Translate { /// How to wrap the output when encoding /// -/// See [Specification](struct.Specification.html) for more information. +/// See [Specification] for more information. #[derive(Debug, Clone)] #[cfg(feature = "alloc")] pub struct Wrap {