Skip to content

Releases: facebookincubator/gazebo

Version 0.8.1

18 Oct 16:00
Compare
Choose a tag to compare

0.8.1 (Oct 18, 2022)

  • Implement Coerce for PhantomData.

Version 0.8.0

18 Oct 15:50
Compare
Choose a tag to compare

0.8.0 (Jul 20, 2022)

  • Delete derive(AnyLifetime) - use derive(ProvidesStaticType) instead.
  • Add a new display module, with utilities for formatting container types.

Version 0.7.1

20 Jul 11:52
Compare
Choose a tag to compare

0.7.1 (Jun 2, 2022)

  • Allow derive(ProvidesStaticType) to derive ProvidesStaticType (previously you had to write derive(AnyLifetime), which is still supported, but will be removed in the next version).

Version 0.7.0

05 May 08:34
Compare
Choose a tag to compare

0.7.0 (May 5, 2022)

  • Delete MaybeEq as it wasn't that useful.
  • Deprecate split1_opt in favour of split_once introduced in Rust 1.52.0.
  • Make UnpackVariants also produce owned into_variant conversions.
  • Optimise ParitalEqAny to avoid virtual calls and heap allocation.

Version 0.6.0

18 Mar 20:44
Compare
Choose a tag to compare

0.6.0 (Mar 18, 2022)

  • Delete any_lifetime! and any_lifetime_body! macros (no longer useful).
  • Improve UnpackVariants macro to not have a lifetime clash with 'a.

Version 0.5.0

23 Feb 15:34
Compare
Choose a tag to compare

0.5.0 (Feb 28, 2022)

  • Delete AnyResult as it wasn't that useful.
  • Make AsARef not take self, so it must be used AsARef::as_aref(x) instead of x.as_aref().
  • Redefine AnyLifetime on top of ProvidesStaticType, allowing more types to be defined and derived better.
  • Provide AnyLifetime instances for parametric types such as Box, Vec, Result and many more from std.
  • Make Coerce derive properly with lifetimes.
  • Add .owned() extension method to any Iterator.
  • Undeprecate terminate_on_panic.
  • Update the copyright from Facebook to Meta Platforms.
  • Move to Rust edition 2021.

Version 0.4.4

18 Oct 16:03
Compare
Choose a tag to compare
  • Add Dupe for Weak and Duration.
  • Add into_singleton for iterators.

Version 0.4.3

18 Oct 14:51
Compare
Choose a tag to compare
  • Make transmute_unchecked slightly safer, with more zero-cost assertions.
  • Add Coerce and CoerceKey for fixed size arrays.

Version 0.4.2

28 Sep 09:08
Compare
Choose a tag to compare
  • Deprecate terminate_on_panic (use -Cpanic=abort instead).
  • Add AnyLifetime for f32 and f64.
  • Make PhantomDataInvariant::new be const.
  • Optimise the cast module.
  • Optimise string methods split1 and split1_opt.
  • Reduce reallocations in the slice/Vec extension methods try_map and into_try_map.
  • Add more assertions to coerce functions, checking invariants around compatible layout.

Version 0.4.1

20 Jul 18:27
Compare
Choose a tag to compare
  • Allow deriving Coerce of newtypes to deal with lifetimes.
  • Add copied to the prelude slice/Vec extensions.
  • Add try_unzip to the prelude Iter extensions.