update dependencies with 1.0 releases

This commit is contained in:
Marc-Antoine Arnaud
2019-10-08 09:04:00 +02:00
parent 64122a9e64
commit dd5ca6df6b
4 changed files with 9 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ pub fn to_string<T: YaSerialize>(model: &T) -> Result<String, String> {
Ok(String::from(data))
}
pub fn to_string_with_config<T: YaSerialize>(model: &T, config: &Config) -> Result<String, String> {
pub fn to_string_with_config<T: YaSerialize>(model: &T, _config: &Config) -> Result<String, String> {
let buf = Cursor::new(Vec::new());
let cursor = serialize_with_writer(model, buf)?;
let data = str::from_utf8(cursor.get_ref()).expect("Found invalid UTF-8");