From f246e780d49388b992feda877c82e93f7f461655 Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 21 May 2020 15:29:45 -0500 Subject: [PATCH] Expose error types, hide Length type --- src/primitives.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/primitives.rs b/src/primitives.rs index 39019b3..48bd0e1 100644 --- a/src/primitives.rs +++ b/src/primitives.rs @@ -15,10 +15,13 @@ use crate::either::Either; pub use activitystreams::primitives::{ - Length, MimeMediaType, RdfLangString, XsdAnyUri, XsdDateTime, XsdDuration, XsdFloat, + MimeMediaType, MimeMediaTypeError, RdfLangString, XsdAnyUri, XsdAnyUriError, XsdDateTime, + XsdDateTimeError, XsdDuration, XsdDurationError, XsdFloat, XsdFloatError, XsdNonNegativeInteger, XsdString, }; +use activitystreams::primitives::Length; + /// A type representing any kind of string /// /// In the ActivityStreams specification, string types are often defined as either an xsd:String or