Skip to content
pubscout

rust_core

1.3.7, released 2 years ago by voyver.com

A pure Dart implementation of Rust patterns like Result, Option, Cell, Slice, and Array.

$ flutter pub add rust_core
Source repository

What it does

Facilitates functional programming and error handling in Dart by providing Rust-inspired types such as Result, Option, Cell, Slice, Array, and Iterator. Note that the project has been renamed to 'rust'.

AI-written summary of version 1.3.7, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want Rust-style error handling with Result and Option types in Dart
  • You need functional programming helpers and patterns familiar to Rust developers

Skip it when

  • You want to use the package under its newer name 'rust
  • You do not need Rust-inspired patterns in your Dart codebase

Strengths

  • Provides pure Dart implementations of Rust patterns
  • Includes helpful types like Result, Option, Cell, Slice, Array, and Iter

Weaknesses

  • Project has been renamed to 'rust
  • Limited documentation in the provided text

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

not documented

Alternatives

Packages that do the same job and could replace rust_core.

  • result_type

    A Result type representing success or failure in Dart

  • fpdart

    Functional programming types and patterns for Dart and Flutter.

  • dart_either

    Either monad for Dart and Flutter supporting type-safe error handling and railway-oriented programming.

  • oxidized

    Rust‑like Option and Result types for safer Dart code.