rust_core 0.4.0 rust_core: ^0.4.0 copied to clipboard
Idiomatic Dart programming with predictable control flow, based off 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 | Slice | Iter | 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: Developed with ergonomics in mind. e.g. Dual Support for Option
and Nullable Types. If a method or extension exists for Option<T>
,
it's also available for T?
.
๐งช Robust Testing: Every feature tested. Around 400 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. |
anyhow_logging | Dynamic logging utility that allows you to log exactly what you want. |
rust_std | Implementation of Rust's standard library in Dart. |
tapper | Extension methods on all types that allow transparent, temporary, inspection/mutation (tapping), transformation (piping), or type conversion. |