grpc 2.8.0
grpc: ^2.8.0

Dart native
Flutter Android iOS

Dart implementation of gRPC, a high performance, open-source universal RPC framework.

52
likes
90 / 110
pub points
95 %
popularity

We analyzed this package on Nov 24, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/README.md

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

  • 172 out of 521 API elements (33.0 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:grpc/grpc.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • package:http2/src/hpack/hpack.dart that imports:
  • package:http2/src/hpack/huffman_table.dart that imports:
  • package:http2/src/hpack/huffman.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 26 issues. Showing the first 2:

INFO: `Future` results in `async` function bodies must be `await`ed or marked `unawaited` using `package:pedantic`.

lib/src/auth/auth.dart:46:7

   ╷
46 │       obtainAccessCredentials(_lastUri).catchError((_) {});
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/auth/auth.dart

INFO: Avoid const keyword.

lib/src/auth/rsa.dart:33:51

   ╷
33 │     static const _RSA_SHA256_ALGORITHM_IDENTIFIER = const [
   │ ┌───────────────────────────────────────────────────^
34 │ │     0x06,
35 │ │     0x09,
36 │ │     0x60,
37 │ │     0x86,
38 │ │     0x48,
39 │ │     0x01,
40 │ │     0x65,
41 │ │     0x03,
42 │ │     0x04,
43 │ │     0x02,
44 │ │     0x01
45 │ │   ];
   │ └───^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/auth/rsa.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
async^2.2.02.4.22.4.2
crypto^2.1.42.1.52.1.5
fixnum^0.10.110.10.110.10.11
googleapis_auth^0.2.70.2.120.2.12
http^0.12.00.12.20.12.2
http2^1.0.01.0.11.0.1
meta^1.1.61.2.41.2.4
protobuf^1.0.11.1.01.1.0
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
http_parser-3.1.43.1.4
path-1.7.01.7.0
pedantic-1.9.21.9.2
source_span-1.7.01.7.0
string_scanner-1.0.51.0.5
term_glyph-1.1.01.1.0
typed_data-1.2.01.2.0

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

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

52
likes
90
pub points
95%
popularity

Publisher

dart.dev

Dart implementation of gRPC, a high performance, open-source universal RPC framework.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache 2.0 (LICENSE)

Dependencies

async, crypto, fixnum, googleapis_auth, http, http2, meta, protobuf

More

Packages that depend on grpc