Skip to content

v0.9.7

Choose a tag to compare

@dtolnay dtolnay released this 20 Feb 17:39
· 1461 commits to master since this release
v0.9.7
864a00e
  • Expose serde_json::de::Read to simplify certain where clauses (#250)

    pub struct Client<R> {
        reader: StreamDeserializer<R, serde_json::Value>,
    }
    
    fn f<R>(c: Client<R>) where R: serde_json::de::Read { /* ... */ }
  • Some convenient new From impls (#253, thanks @killercup)

    • From for Value
    • From for Value
    • From<&str> for Value
    • From<Cow> for Value
    • From<Map<String, Value>> for Value
    • From<Vec> for Value where T: Into
    • From<&[T]> for Value where T: Clone + Into
    • FromIterator for Value where T: Into
  • Support deserializing strings as raw bytes (#257, thanks @bennofs)