From 5b419292e1461cd8afb6da87e1a71284b54daf85 Mon Sep 17 00:00:00 2001 From: Blake Griffith Date: Mon, 5 May 2025 13:52:59 -0400 Subject: [PATCH 1/2] chore: Release compact-encoding version 2.0.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 8bf9b41..1f8cbc6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "compact-encoding" -version = "1.1.0" +version = "2.0.0" license = "MIT OR Apache-2.0" description = "A series of compact encoding schemes for building small and fast parsers and serializers" documentation = "https://docs.rs/compact-encoding" From 72bf9bfba265b5daeccfa8646091498696ea2d37 Mon Sep 17 00:00:00 2001 From: Blake Griffith Date: Tue, 9 Dec 2025 00:15:14 -0500 Subject: [PATCH 2/2] fix confusing ellided lifetime err --- src/fixedwidth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fixedwidth.rs b/src/fixedwidth.rs index 4ed4819..6b70e54 100644 --- a/src/fixedwidth.rs +++ b/src/fixedwidth.rs @@ -57,7 +57,7 @@ pub trait FixedWidthEncoding { Self: Sized; /// Get a uint in a form that encodes to a fixed width - fn as_fixed_width(&self) -> FixedWidthUint { + fn as_fixed_width(&self) -> FixedWidthUint<'_, Self> { FixedWidthUint(self) } }