Expose encoder::Error

This commit is contained in:
Tony Garnock-Jones 2019-09-19 21:49:46 +01:00
parent 63cd853ba1
commit 898a5d680d
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "preserves"
version = "0.1.1"
version = "0.1.2"
authors = ["Tony Garnock-Jones <tonyg@leastfixedpoint.com>"]
edition = "2018"
description = "Implementation of the Preserves serialization format via serde."

View File

@ -2,9 +2,9 @@ use std::io::Write;
use crate::value::value::{Value, AValue, Float, Double};
use num::bigint::BigInt;
use num::cast::ToPrimitive;
use std::io::Error;
use crate::value::constants::{Op, AtomMinor, CompoundMinor};
pub type Error = std::io::Error;
pub type Result = std::result::Result<(), Error>;
pub type EncodePlaceholderMap = std::collections::BTreeMap<Value, usize>;