Skip to content

v0.2.0

Choose a tag to compare

@ryanoneill ryanoneill released this 13 Jan 04:23
· 34 commits to main since this release
v0.2.0
c5b835c

What's New in v0.2.0

New Features

  • Line and column numbers in error messages: Parse errors now include precise location information for easier debugging.

  • Block syntax in match arms: Match arm bodies can now use block expressions with braces:

    match x {
        0 => { false },
        _ => { x > 0 },
    }
    
  • Dotted module names: Module declarations support hierarchical naming:

    module myproject.auth.users
    
  • Multi-file module imports: Split specifications across files with import support:

    use types::{UserId, Email}
    use types::{Identifier as Id}  // with alias
    
  • Comprehensive self-specification: All implementation types now documented in the Fastbreak self-specification.

Changes

  • Lowered MSRV to Rust 1.70: Supports older Rust toolchains.

Installation

cargo install fastbreak

Full Changelog: https://github.com/ryanoneill/fastbreak/blob/main/CHANGELOG.md