From 7be68413ecae971dec5edec5c80e53bc2ab96139 Mon Sep 17 00:00:00 2001 From: Scott Wyatt Date: Fri, 24 Jul 2026 12:41:49 -0400 Subject: [PATCH] docs(): correct stale API in top-level README (0.5) - Quick start + Potions deps: version 0.4.7 -> 0.5 - Entity -> HexEntity (the Entity alias was removed in 0.5) All README code snippets (Quick start, CloudEvents, Potions) were compile-checked against hexser/hexser_potions 0.5. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2861f0d..76f2aa8 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Quick start with hexser: ```toml [dependencies] -hexser = { path = "./hexser", version = "0.4.7", features = ["macros"] } +hexser = { path = "./hexser", version = "0.5", features = ["macros"] } ``` ```rust @@ -53,7 +53,7 @@ use hexser::prelude::*; // Domain entity struct User { id: String } -impl Entity for User { type Id = String; } +impl HexEntity for User { type Id = String; } // Repository port (query-oriented) // Define lightweight filter/sort types in your domain @@ -139,7 +139,7 @@ Use directly from the workspace: ```toml [dependencies] -hexser_potions = { path = "./hexser_potions", version = "0.4.7" } +hexser_potions = { path = "./hexser_potions", version = "0.5" } ``` Then in your code: