dart_tinydtls 1.0.1 copy "dart_tinydtls: ^1.0.1" to clipboard
dart_tinydtls: ^1.0.1 copied to clipboard

Dart ffi bindings to the tinydtls library. Provides wrappers for both a DTLS client and server.

3
likes
120/ 160
pub points
4%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

63 out of 74 API elements (85.1 %) have documentation comments.

Some symbols that are missing documentation: dart_tinydtls.TinyDTLS.dtls_ec_key_asn1_from_uint32, dart_tinydtls.TinyDTLS.dtls_ecdh_pre_master_secret, dart_tinydtls.TinyDTLS.dtls_ecdsa_create_sig, dart_tinydtls.TinyDTLS.dtls_ecdsa_create_sig_hash, dart_tinydtls.TinyDTLS.dtls_ecdsa_generate_key.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dart_tinydtls/dart_tinydtls.dart that imports:
  • package:dart_tinydtls/src/ffi/generated_bindings.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_tinydtls/dart_tinydtls.dart that imports:
  • package:dart_tinydtls/src/ffi/generated_bindings.dart that imports:
  • dart:ffi

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 9 issues. Showing the first 2:

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.14.4 <3.0.0' don't guarantee it.

lib/src/ecdsa_keys.dart:42:29

   ╷
42 │     return "${_argumentType.name} coordinate of the public key";
   │                             ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/ecdsa_keys.dart

WARNING: This API is available since SDK 2.15.0, but constraints '>=2.14.4 <3.0.0' don't guarantee it.

lib/src/ecdsa_keys.dart:51:34

   ╷
51 │         "the curve ${_ecdsaCurve.name}, but found $_actualByteLength bytes "
   │                                  ^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/ecdsa_keys.dart

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

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

Package Constraint Compatible Latest
ffi ^1.1.2 1.2.1 2.1.3

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

The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions ffi 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.13, Dart 3.5.3.

Check the analysis log for details.

3
likes
120
pub points
4%
popularity

Publisher

verified publishernamib.me

Dart ffi bindings to the tinydtls library. Provides wrappers for both a DTLS client and server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

ffi

More

Packages that depend on dart_tinydtls