Skip to main content

dart_libp2p_bitswap 2.0.0 copy "dart_libp2p_bitswap: ^2.0.0" to clipboard
dart_libp2p_bitswap: ^2.0.0 copied to clipboard

An implementation of the Bitswap 1.2.0 block exchange protocol for dart_libp2p.

150/ 160
pub points
54
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

188 out of 326 API elements (57.7 %) have documentation comments.

Some symbols that are missing documentation: dart_libp2p_bitswap.Bitswap.onPeerDisconnected, dart_libp2p_bitswap.Bitswap.options, dart_libp2p_bitswap.BitswapOptions.BitswapOptions.new, dart_libp2p_bitswap.BlockStore.BlockStore.new, dart_libp2p_bitswap.BlockStore.get.

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_bitswap/dart_libp2p_bitswap.dart that imports:
  • package:dart_libp2p_bitswap/src/bitswap.dart that imports:
  • package:dart_libp2p_bitswap/src/server/engine.dart that imports:
  • package:dart_libp2p_bitswap/src/server/peer_ledger.dart that imports:
  • 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
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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
blake3_dart ^1.0.0 1.0.0 1.0.0
convert ^3.1.2 3.1.2 3.1.2
crypto ^3.0.3 3.0.8 3.0.8
dart_libp2p ^4.12.0 4.12.0 4.12.0
dart_multihash ^1.0.1 1.0.1 1.0.1
dcid ^1.0.0 1.0.0 1.0.0
logging ^1.2.0 1.3.0 1.3.0
meta ^1.9.0 1.19.0 1.19.0
pointycastle ^3.9.1 3.9.1 4.0.0
protobuf ^3.1.0 3.1.0 6.1.0
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
base32 - 2.2.0 2.2.0
base_x - 2.0.1 2.0.1
bs58 - 1.0.2 1.0.2
buffer - 1.2.3 1.2.3
collection - 1.19.1 1.19.1
cryptography - 2.9.0 2.9.0
dart_udx - 4.3.0 4.3.0
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
js - 0.7.2 0.7.2 Discontinued
mdns_dart - 2.2.2 2.2.2
path - 1.9.1 1.9.1
stack_trace - 1.12.2 1.12.2
synchronized - 3.5.0 3.5.0
typed_data - 1.4.0 1.4.0
uuid - 4.6.0 4.6.0
x25519 - 0.1.2 0.1.2

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

The constraint `^3.9.1` 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:
0
likes
150
points
54
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An implementation of the Bitswap 1.2.0 block exchange protocol for dart_libp2p.

Repository (GitHub)
View/report issues

Topics

#libp2p #ipfs #bitswap #p2p #networking

License

MIT (license)

Dependencies

blake3_dart, convert, crypto, dart_libp2p, dart_multihash, dcid, logging, meta, pointycastle, protobuf

More

Packages that depend on dart_libp2p_bitswap