From 7e63092bcd0e439fbd7f288ef55cdf79a22bc5b9 Mon Sep 17 00:00:00 2001 From: faumaray Date: Sun, 25 Oct 2026 02:19:48 +0300 Subject: [PATCH] Say in from_json's doc who reads the identity text through it The doc said every reader of the TeamSpeak identity text refuses it through from_json. Only voelin-core reads it through there: voelin-store parses the same text on its own (keystore.rs check_teamspeak and level, store.rs list), and drops or forwards serde's message by its own rules. The doc now names voelin-core and says voelin-store parses it too. Co-Authored-By: Claude Sonnet 5.5 --- crates/voelin-core/src/ts/identity.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/voelin-core/src/ts/identity.rs b/crates/voelin-core/src/ts/identity.rs index 8adbd9f..a26708e 100644 --- a/crates/voelin-core/src/ts/identity.rs +++ b/crates/voelin-core/src/ts/identity.rs @@ -259,7 +259,8 @@ pub fn from_blob(blob: &IdentityBlob) -> Result { } /// The TeamSpeak identity in `json`, the text [`to_blob`] writes and the key -/// store keeps; every reader of that text refuses it through here. +/// store keeps; voelin-core reads that text only through here (voelin-store +/// parses it too, for its own checks of a stored row). /// /// What does not read is refused in words that say how it is wrong /// (malformed, cut short, not an identity, unreadable) and where (line and