rust_monads 0.0.1+1
rust_monads: ^0.0.1+1 copied to clipboard
Rust inspired Result and Option types for Dart/Flutter.
We analyzed this package 4 days ago, and awarded it 125 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
-
pubspec.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.1+1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
41 out of 95 API elements (43.2 %) have documentation comments.
Some symbols that are missing documentation: c_result, c_result.CErr, c_result.CErr.CErr.new, c_result.CErr.error, c_result.COk.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
INFO: The type parameter name 'Error' matches a visible type name.
lib/c_result.dart:9:29
╷
9 │ sealed class CResult<Value, Error> {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/c_result.dart
INFO: Missing type annotation.
lib/c_result.dart:41:12
╷
41 │ operator ~() => ~this;
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/c_result.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Dart 3.12.0.
Check the analysis log for details.