From 1f79d9e7d3d6a24dca62ce4b90c46497d1b8afae Mon Sep 17 00:00:00 2001 From: Cristian Cobzarenco Date: Fri, 3 Oct 2014 14:38:57 +0100 Subject: Export DecodeErrorKind c-tors publicly. --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index ca6b548..7a89445 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,6 +52,9 @@ pub use serialization::{Encoder, encode, encode_str}; pub use serialization::{Decoder, decode, decode_str}; pub use serialization::{Error, NeedsKey, NoValue}; pub use serialization::{InvalidMapKeyLocation, InvalidMapKeyType}; +pub use serialization::{DecodeError, ApplicationError, ExpectedField}; +pub use serialization::{ExpectedMapElement, ExpectedMapKey, NoEnumVariants}; +pub use serialization::{ExpectedType, NilTooLong}; mod parser; mod show; -- cgit v1.2.3