etcd 0.0.3

Dart native
Flutter Android iOS

A client for connecting to and interacting with ETCD, a distributed, reliable key-value store for the most critical data of a distributed system

2
likes
80 / 110
pub points
0 %
popularity

We analyzed this package on Oct 26, 2020, and awarded it 80 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
10 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 365 out of 2658 API elements (13.7 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

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:etcd/etcd.dart that imports:
  • 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 107 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/src/EtcdClient.dart:8:41

  ╷
8 │   EtcdKVClient    get kv => _kvClient??=new EtcdKVClient(_channel, _encoding);
  │                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Unnecessary new keyword.

lib/src/EtcdClient.dart:11:47

   ╷
11 │   EtcdWatchClient get watch => _watchClient??=new EtcdWatchClient(_channel, _encoding);
   │                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
fixnum^0.10.110.10.110.10.11
grpc^2.1.32.3.02.3.0
logging^0.11.40.11.40.11.4
path^1.7.01.7.01.7.0
protobuf^1.0.11.0.11.0.1
stack_trace^1.9.31.9.51.9.5
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.4.22.4.2
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
googleapis_auth-0.2.120.2.12
http-0.12.20.12.2
http2-1.0.11.0.1
http_parser-3.1.43.1.4
meta-1.2.31.2.3
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

2
likes
80
pub points
0%
popularity

A client for connecting to and interacting with ETCD, a distributed, reliable key-value store for the most critical data of a distributed system

Homepage
Repository

Documentation

API reference

Uploader

bob.jackman@carruslearn.com

License

Apache 2.0 (LICENSE)

Dependencies

fixnum, grpc, logging, path, protobuf, stack_trace

More

Packages that depend on etcd