Repository navigation
0.2.0
Key changes
Refactor the OwnedStream API so it's clearer how it relates to value::Stream. You can now create a value::Stream:
let mut stream = OwnedStream::begin(s)?;
// Previously you couldn't do this
// value::Stream was its own thing
v.stream(&mut stream.borrow_mut())?;
stream.end()?;It's more convenient to use OwnedStream::any instead:
let mut stream = OwnedStream::begin(s)?;
stream.any(v)?;
stream.end()?;But not actually being able to call stream on a Value was a bit of an oddity that didn't make much sense after we added OwnedStream as a concept.