rust_core 0.2.1 rust_core: ^0.2.1 copied to clipboard
Implementation of Rust's core library in a Dart friendly way. Usable by itself, but also a base for libraries that want to build on Rust Semantics.
Rust_Core #
Implementation of Rust's core library in a Dart friendly way.
Rust_Core allows for idiomatic programming in dart with predictable control flow. We carefully adapt Rust's
functionalities to Dart's paradigms, ensuring a smooth,
language-compatible integration. E.g. Option
and Nullable types are equally supported throughout. If a method or
extension exists for Option<T>
it exists for T?
. Thus, Rust_Core seamlessly integrates the essence of Rust's
core library into Dart.
Highlights #
Libraries #
| Result | Option | Cell | Panic | Typedefs
๐ฅ Over 100 Extensions and Counting: Crafted to address specific scenarios in Dart.
๐งช Robust Testing: Over 250 tests and counting, we aim for reliability and performance in every feature.
๐ Beyond Rust Core: While Rust_Core faithfully implements the Rust Core library in Dart, our vision extends further. We aim to be an indispensable tool for every Dart project and a foundational library for the broader ecosystem.
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. |