Releases: facebookincubator/gazebo
Releases · facebookincubator/gazebo
Version 0.8.1
0.8.1 (Oct 18, 2022)
- Implement
Coerce
forPhantomData
.
Version 0.8.0
0.8.0 (Jul 20, 2022)
- Delete
derive(AnyLifetime)
- usederive(ProvidesStaticType)
instead. - Add a new
display
module, with utilities for formatting container types.
Version 0.7.1
0.7.1 (Jun 2, 2022)
- Allow
derive(ProvidesStaticType)
to deriveProvidesStaticType
(previously you had to writederive(AnyLifetime)
, which is still supported, but will be removed in the next version).
Version 0.7.0
0.7.0 (May 5, 2022)
- Delete
MaybeEq
as it wasn't that useful. - Deprecate
split1_opt
in favour ofsplit_once
introduced in Rust 1.52.0. - Make
UnpackVariants
also produce ownedinto_variant
conversions. - Optimise
ParitalEqAny
to avoid virtual calls and heap allocation.
Version 0.6.0
0.6.0 (Mar 18, 2022)
- Delete
any_lifetime!
andany_lifetime_body!
macros (no longer useful). - Improve
UnpackVariants
macro to not have a lifetime clash with'a
.
Version 0.5.0
0.5.0 (Feb 28, 2022)
- Delete
AnyResult
as it wasn't that useful. - Make
AsARef
not takeself
, so it must be usedAsARef::as_aref(x)
instead ofx.as_aref()
. - Redefine
AnyLifetime
on top ofProvidesStaticType
, allowing more types to be defined and derived better. - Provide
AnyLifetime
instances for parametric types such asBox
,Vec
,Result
and many more fromstd
. - Make
Coerce
derive properly with lifetimes. - Add
.owned()
extension method to anyIterator
. - Undeprecate
terminate_on_panic
. - Update the copyright from Facebook to Meta Platforms.
- Move to Rust edition 2021.
Version 0.4.4
- Add
Dupe
forWeak
andDuration
. - Add
into_singleton
for iterators.
Version 0.4.3
- Make
transmute_unchecked
slightly safer, with more zero-cost assertions. - Add
Coerce
andCoerceKey
for fixed size arrays.
Version 0.4.2
- Deprecate
terminate_on_panic
(use-Cpanic=abort
instead). - Add
AnyLifetime
forf32
andf64
. - Make
PhantomDataInvariant::new
beconst
. - Optimise the
cast
module. - Optimise string methods
split1
andsplit1_opt
. - Reduce reallocations in the slice/
Vec
extension methodstry_map
andinto_try_map
. - Add more assertions to
coerce
functions, checking invariants around compatible layout.
Version 0.4.1
- Allow deriving
Coerce
of newtypes to deal with lifetimes. - Add
copied
to theprelude
slice/Vec
extensions. - Add
try_unzip
to theprelude
Iter
extensions.