crosscall 0.1.6
crosscall: ^0.1.6 copied to clipboard
dart and rust call
We analyzed this package 6 days ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
51 out of 74 API elements (68.9 %) have documentation comments.
Some symbols that are missing documentation: crosscall
, crosscall.ClientChannel
, crosscall.ClientChannel.ClientChannel.new
, crosscall.ClientChannel.createConnection
, crosscall.ClientChannel.port
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:crosscall/crosscall.dart
that imports:package:grpc/src/client/http2_connection.dart
that imports:package:grpc/src/client/transport/http2_transport.dart
that imports:package:grpc/src/shared/streams.dart
that imports:package:http2/transport.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:crosscall/crosscall.dart
that imports:package:grpc/src/client/http2_connection.dart
that imports:package:grpc/src/client/transport/http2_transport.dart
that imports:package:grpc/src/shared/streams.dart
that imports:package:http2/transport.dart
that imports:dart:io
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
/tmp/pana_GDTPMD/lib/src/protocol/protocol.pb.dart doesn't match the Dart formatter.
To format your files run: dart format .
/tmp/pana_GDTPMD/lib/src/protocol/protocol.pbenum.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
ffi |
^2.1.3 |
2.1.4 | 2.1.4 | |
grpc |
^4.0.0 |
4.0.4 | 4.0.4 | |
http2 |
^2.3.0 |
2.3.1 | 2.3.1 | |
protobuf |
^3.1.0 |
3.1.0 | 4.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
google_identity_services_web |
- | 0.3.3 | 0.3.3 | |
googleapis_auth |
- | 2.0.0 | 2.0.0 | |
http |
- | 1.3.0 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.1.0` on protobuf does not support the stable version `4.0.0`, that was published 18 days ago.
When protobuf is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions protobuf
to update the constraint.
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.22.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.