encoding_type: remove debug log statements, bump version to 0.13.2

This commit is contained in:
Matt Bilker
2018-10-28 20:15:09 +00:00
parent 03170b2cd6
commit 756384097a
2 changed files with 3 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "kbinxml"
version = "0.13.1"
version = "0.13.2"
authors = ["Matt Bilker <me@mbilker.us>"]
[dependencies]
@@ -12,9 +12,9 @@ failure = "0.1.1"
indexmap = "1.0.1"
lazy_static = "1.0.0"
log = "0.4.1"
minidom = "0.9.0"
minidom = "0.10.0"
pretty_env_logger = "0.2.3"
quick-xml = "0.12.1"
quick-xml = "0.13.1"
rustc-hex = "2.0.1"
serde = { version = "1.0.79", optional = true }

View File

@@ -117,9 +117,6 @@ impl EncodingType {
fn encode_with_encoding(encoding: &'static Encoding, input: &str) -> Result<Vec<u8>, KbinError> {
let (output, actual_encoding, had_unmappable_characters) = encoding.encode(input);
eprintln!("actual encoding: {:?}", actual_encoding);
eprintln!("had unmappable characters: {}", had_unmappable_characters);
if encoding != actual_encoding {
Err(format_err!("Another encoding was used to encode the output: {:?}", actual_encoding)
.context(KbinErrorKind::Encoding)