dart_libp2p 0.5.3 copy "dart_libp2p: ^0.5.3" to clipboard
dart_libp2p: ^0.5.3 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.

120/ 160
pub points
178
downloads

We analyzed this package 4 hours ago, and awarded it 120 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

3318 out of 5645 API elements (58.8 %) 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 659 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

bin/ping_app.dart:186:23

    ╷
186 │       final hps = host!.holePunchService; // host is not null here
    │                       ^
    ╵

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

WARNING: The operand can't be 'null', so the condition is always 'true'.

bin/ping_app.dart:194:17

    ╷
194 │           if (s != null) print(s);
    │                 ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/ping_app.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.0 2.13.0
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.6 3.0.6
cryptography ^2.7.0 2.7.0 2.7.0
dart_multihash ^1.0.1 1.0.1 1.0.1
dart_udx ^0.3.0 0.3.1 0.3.1
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
meta ^1.9.1 1.17.0 1.17.0
multicast_dns ^0.3.2 0.3.3 0.3.3
pointycastle ^3.7.3 3.9.1 4.0.0
protobuf ^3.1.0 3.1.0 5.0.0
stack_trace ^1.12.1 1.12.1 1.12.1
synchronized ^3.3.0+3 3.4.0 3.4.0
uuid ^4.4.2 4.5.1 4.5.1
x25519 ^0.1.1 0.1.1 0.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 89.0.0 89.0.0
adaptive_number - 1.0.0 1.0.0
analyzer - 8.2.0 8.2.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.1 4.0.1
built_collection - 5.1.1 5.1.1
built_value - 8.12.0 8.12.0
code_builder - 4.11.0 4.11.0
dart_style - 3.1.2 3.1.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
js - 0.6.7 0.7.2 Discontinued
matcher - 0.12.17 0.12.17
mockito - 5.5.1 5.5.1
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
source_gen - 4.0.1 4.0.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
typed_data - 1.4.0 1.4.0
watcher - 1.1.4 1.1.4
yaml - 3.1.3 3.1.3

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.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
120
points
178
downloads

Publisher

unverified uploader

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

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

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

More

Packages that depend on dart_libp2p