rust_core 0.5.6 copy "rust_core: ^0.5.6" to clipboard
rust_core: ^0.5.6 copied to clipboard

Implementation of Rust's core library in Dart. Types include Result, Option, Cells, Slices, Array, Iterators, and extensions. Facilitates functional programming and error handling.

rust_core #

Pub Version Dart Package Docs License: MIT Build Status

rust_core is an implementation of Rust's Core Library in Dart.

The goal is to bring Rust's features and ergonomics to Dart. This also provides a seamless developer experience for any developer using both languages.

Rust's functionalities are carefully adapted to Dart's paradigms, focusing on a smooth idiomatic language-compatible integration with predictable control flow.

Highlights #

Libraries #

| Array | Cell | Iter | Mpsc | Option | Panic | Result | Slice | Sync | 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. Over 500 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.
rewind A logging utility that allows you completely customize what is captured and how your logs look at each logging level.
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.
thiserror A library for concisely defining error types (error enums / sealed classes) and their String representation.
10
likes
160
pub points
43%
popularity

Publisher

verified publishervoyver.com

Implementation of Rust's core library in Dart. Types include Result, Option, Cells, Slices, Array, Iterators, and extensions. Facilitates functional programming and error handling.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on rust_core