Expose encoder::Error
This commit is contained in:
parent
63cd853ba1
commit
898a5d680d
|
@ -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."
|
||||
|
|
|
@ -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>;
|
||||
|
|
Loading…
Reference in New Issue