Skip to content

Initial release

Compare
Choose a tag to compare
@sagebind sagebind released this 21 Jun 15:05
· 31 commits to master since this release

This is the first release of Castaway. This has the following changes from Castaway's predecessor Transmogrify:

  • Casting is performed with a macro instead of a trait. This improves ergonomics by removing the need to always use a turbofish, allows for more intelligent casting of references, and shrinks the public API to allow for taking advantage of future Rust features to allow for more types of casts without breaking changes.
  • The match_type macro now has a slightly different syntax, and match arms must now use irrefutable patterns.