mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-09 19:15:27 -05:00
encoding_type: remove debug log statements, bump version to 0.13.2
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user