rust_core 0.3.5 rust_core: ^0.3.5 copied to clipboard
Idiomatic Dart programming with predictable control flow, inspired by Rust's core library. Includes types like Result, Option, Cells, and extensive methods/extensions.
rust_core #
Implementing Rust's Core Library in Dart.
rust_core
provides a Dart-friendly implementation of Rust's core library, enabling idiomatic programming with
predictable control flow. Rust's functionalities are carefully adapted to Dart's paradigms, focusing on smooth
and language-compatible integration.
Highlights #
Libraries #
| Result | Option | Cell | Panic | Typedefs
๐ฅ Extensive Extensions: Dozens of additional extensions with hundreds of methods tailored for Dart. These extensions are designed for maximum composability, addressing specific scenarios.
๐ Dart Friendly: Dual Support for Option
and Nullable Types. If a method or extension exists for Option<T>
,
it's also available for T?
, offering flexibility and consistency in your coding.
๐งช Robust Testing: Every feature tested. Over 300 meaningful tests. Reliability and performance in every feature.
Official Packages Based Off rust_core #
Library | Description |
---|---|
anyhow | Idiomatic error handling capabilities to make your code safer, more maintainable, and errors easier to debug. |
tapper | Extension methods on all types that allow transparent, temporary, inspection/mutation (tapping), transformation (piping), or type conversion. |