v0.3.0 #36
ecton
announced in
Announcements
v0.3.0
#36
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Breaking Changes
ManagedFilehas had its metadata functions moved to a new traitFilewhichManagedFilemust be an implementor of. This allowsdyn Fileto be usedinternally. As a result,
PagedWriterno longer takes a file type genericparameter.
ManagedFilehas had its functionsopen_for_readandopen_for_appendhavebeen moved to a new trait,
ManagedFileOpener.FileManager::replace_withnow takes the replacement file itself instead ofthe file's Path.
compare_and_swaphas had theoldparameter loosened to&[u8], avoidingan extra allocation.
TreeFile::push()has been renamedTreeFile::set()and now accepts any typethat can convert to `ArcBytes<'static>.
Added
AnyFileManagerhas been added to make it easy to select between memory orstandard files at runtime.
Tree::first[_key](),TransactionTree::first[_key](), andTreeFile::first[_key]()have been added, pairing the functionality providedby
last()andlast_key().This discussion was created from the release v0.3.0.
Beta Was this translation helpful? Give feedback.
All reactions