Skip to main content

dart_libp2p 4.11.0 copy "dart_libp2p: ^4.11.0" to clipboard
dart_libp2p: ^4.11.0 copied to clipboard

A comprehensive Dart implementation of the libp2p networking stack with modular architecture, multiple transports (TCP/UDX), Noise security, and peer-to-peer capabilities.

140/ 160
pub points
2.71k
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Documentation URL doesn't exist.

At the time of the analysis https://github.com/stephanfeb/dart_libp2p/tree/main/docs was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

3620 out of 5990 API elements (60.4 %) have documentation comments.

Some symbols that are missing documentation: addr_book.AddrSub.AddrSub.new, addr_book.AddrSub.close, addr_book.AddrSub.pubAddr, addr_book.AddrSub.stream, addr_book.AddrSubManager.AddrSubManager.new.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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_libp2p/dart_libp2p.dart that imports:
  • package:dart_libp2p/p2p/discovery/peer_info.dart that imports:
  • package:dart_libp2p/core/multiaddr.dart that imports:
  • package:dart_libp2p/p2p/multiaddr/protocol.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 125 issues. Showing the first 2:

INFO: Dangling library doc comment.

bin/interop_echo_client.dart:1:1

  ╷
1 │ /// Interop echo client for Go↔Dart testing.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/interop_echo_client.dart

INFO: Angle brackets will be interpreted as HTML.

bin/interop_echo_client.dart:2:50

  ╷
2 │ /// Usage: dart run bin/interop_echo_client.dart <multiaddr-with-p2p>
  │                                                  ^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/interop_echo_client.dart

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

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

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
async ^2.11.0 2.13.1 2.13.1
base32 ^2.1.3 2.2.0 2.2.0
base_x ^2.0.0 2.0.1 2.0.1
bs58 ^1.0.2 1.0.2 1.0.2
buffer ^1.2.3 1.2.3 1.2.3
collection ^1.17.1 1.19.1 1.19.1
convert ^3.1.0 3.1.2 3.1.2
crypto ^3.0.3 3.0.8 3.0.8
cryptography ^2.7.0 2.9.0 2.9.0
dart_multihash ^1.0.1 1.0.1 1.0.1
dart_udx ^4.3.0 4.3.0 4.3.0
dcid ^1.0.0 1.0.0 1.0.0
fixnum ^1.1.0 1.1.1 1.1.1
logging ^1.2.0 1.3.0 1.3.0
mdns_dart ^2.0.1 2.2.2 2.2.2
meta ^1.9.1 1.19.0 1.19.0
pointycastle ^3.7.3 3.9.1 4.0.0
protobuf ^3.1.0 3.1.0 6.1.0
stack_trace ^1.12.1 1.12.2 1.12.2
synchronized ^3.3.0+3 3.5.0 3.5.0
uuid ^4.4.2 4.6.0 4.6.0
x25519 ^0.1.1 0.1.2 0.1.2
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
ffi - 2.2.0 2.2.0
js - 0.7.2 0.7.2 Discontinued
path - 1.9.1 1.9.1
typed_data - 1.4.0 1.4.0

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

The constraint `^3.7.3` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

The constraint `^3.1.0` on protobuf does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions protobuf to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
140
points
2.71k
downloads

Documentation

Documentation
API reference

Publisher

verified publisherwerkswinkel.com

Weekly Downloads

A comprehensive Dart implementation of the libp2p networking stack with modular architecture, multiple transports (TCP/UDX), Noise security, and peer-to-peer capabilities.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, async, base32, base_x, bs58, buffer, collection, convert, crypto, cryptography, dart_multihash, dart_udx, dcid, fixnum, logging, mdns_dart, meta, pointycastle, protobuf, stack_trace, synchronized, uuid, x25519

More

Packages that depend on dart_libp2p