Skip to content

0.4.0

Compare
Choose a tag to compare
@craigfe craigfe released this 16 Jun 18:16
· 60 commits to main since this release

CHANGES:

  • Add Repr.{random,random_state}, a pair of generic functions for sampling
    random instances of representable types. (#58, @craigfe)

  • Add Repr.Size, which provides sizing functions for binary codecs that are
    more informative than the existing Repr.size_of. Types built using Repr.v
    and Repr.like must now pass a sizer built using Repr.Size.custom_*. (#69,
    @craigfe)