Skip to content

0.3.7 release

Latest
Compare
Choose a tag to compare
@rodrimati1992 rodrimati1992 released this 28 Nov 02:06
· 18 commits to main since this release

The 0.3.7 release adds a few chunky slice functions, and fixes an iterator method.

Changelog

0.3.7

Fixed ChunksExact::remainder's implementation, it used to return the entire uniterated-over slice, when it should only return the part of the slice that the iterator never yields.

Added these items to konst::slice module:

  • ArrayChunksRev struct
  • ArrayChunks struct
  • RChunksExactRev struct
  • RChunksExact struct
  • RChunksRev struct
  • RChunks struct
  • array_chunks function
  • as_chunks function
  • as_rchunks function
  • rchunks_exact function
  • rchunks function

0.3.6

Changed type_eq_projection_fn macro to not use any unsafe, this may require fixing bounds in your code.

0.3.5

Added typewit = "1.1" dependency.

Removed konst::docs module.

Replaced konst::polymorphism::{HasTypeWitness,MakeTypeWitness,TypeWitnessTypeArg,TypeEq} from the same-named items in typewit

Added reexport of typewit::{self, CallFn, simple_type_witness,TypeFn,type_fn} in konst::polymorphism

0.3.4

Fixed Parser::parse_direction's const-ness by making it a const fn.