anyhow 2.0.1 copy "anyhow: ^2.0.1" to clipboard
anyhow: ^2.0.1 copied to clipboard

Idiomatic error handling capabilities to make your code safer, more maintainable, and errors easier to debug. Dart implementation of Rust's Result monad type and "anyhow" crate.

31
likes
150/ 160
pub points
453
downloads

We analyzed this package 31 hours ago, and awarded it 150 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

697 out of 1171 API elements (59.5 %) have documentation comments.

Some symbols that are missing documentation: anyhow, anyhow.AnyhowErrExtension, anyhow.AnyhowFutureIterableResultExtension, anyhow.AnyhowFutureIterableResultExtension.merge, anyhow.AnyhowFutureIterableResultExtension.toResult.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:anyhow/anyhow.dart that imports:
  • package:rust/src/result/result.dart that imports:
  • package:rust/rust.dart that imports:
  • package:rust/src/sync/isolate_channel.dart that imports:
  • dart:isolate

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
rust ^2.0.1 2.0.2 3.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.0.1` on rust does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions rust to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 3Jul 31Aug 28Sep 25Oct 23Nov 20Dec 18Jan 15Feb 12Mar 12050100150200250300350400>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0
31
likes
150
points
453
downloads

Publisher

verified publishervoyver.com

Weekly Downloads

2024.09.18 - 2025.04.02

Idiomatic error handling capabilities to make your code safer, more maintainable, and errors easier to debug. Dart implementation of Rust's Result monad type and "anyhow" crate.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

rust

More

Packages that depend on anyhow