From a8f4690c11d31c901e3376308e50a54824f4d04f Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 19 Jul 2022 04:39:48 +0300 Subject: kittybox-indieauth: improve docs and the Error type `kittybox_indieauth::Error` now represents errors in the IndieAuth process itself. `IndieAuthError` got renamed to `ResourceErrorKind` to reflect errors that a resource server (i.e. IndieAuth consumer) might return to a client who somehow didn't authorize themselves properly. --- kittybox-rs/indieauth/src/scopes.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kittybox-rs/indieauth/src/scopes.rs') diff --git a/kittybox-rs/indieauth/src/scopes.rs b/kittybox-rs/indieauth/src/scopes.rs index e803dca..18ebfbd 100644 --- a/kittybox-rs/indieauth/src/scopes.rs +++ b/kittybox-rs/indieauth/src/scopes.rs @@ -42,7 +42,8 @@ impl Scope { Scope::Custom(scope.to_string()) } } -// TODO consider relying on serde for these conversions + +// TODO consider relying on serde_variant for these conversions impl AsRef for Scope { fn as_ref(&self) -> &str { use Scope::*; -- cgit 1.4.1