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
-
Breaking Changes
ManagedFile
has had its metadata functions moved to a new traitFile
whichManagedFile
must be an implementor of. This allowsdyn File
to be usedinternally. As a result,
PagedWriter
no longer takes a file type genericparameter.
ManagedFile
has had its functionsopen_for_read
andopen_for_append
havebeen moved to a new trait,
ManagedFileOpener
.FileManager::replace_with
now takes the replacement file itself instead ofthe file's Path.
compare_and_swap
has had theold
parameter loosened to&[u8]
, avoidingan extra allocation.
TreeFile::push()
has been renamedTreeFile::set()
and now accepts any typethat can convert to `ArcBytes<'static>.
Added
AnyFileManager
has 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