quic_lib 0.5.0 copy "quic_lib: ^0.5.0" to clipboard
quic_lib: ^0.5.0 copied to clipboard

A pure-Dart QUIC, HTTP/3, WebTransport, and libp2p transport stack.

120/ 160
pub points
685
downloads

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

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

512 out of 891 API elements (57.5 %) have documentation comments.

Some symbols that are missing documentation: quic_lib.AckEcnFrame, quic_lib.AckEcnFrame.AckEcnFrame.new, quic_lib.AckEcnFrame.ceCount, quic_lib.AckEcnFrame.ect0Count, quic_lib.AckEcnFrame.ect1Count.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:quic_lib/quic_lib.dart that imports:
  • package:quic_lib/src/io/quic_endpoint.dart that imports:
  • package:quic_lib/src/io/udp_socket.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:quic_lib/quic_lib.dart that imports:
  • package:quic_lib/src/io/quic_endpoint.dart that imports:
  • package:quic_lib/src/io/udp_socket.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

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 19 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/io/udp_socket.dart:18:52

   ╷
18 │   /// Per-source IP rate tracking: ip_string → List<timestamp_ms>.
   │                                                    ^^^^^^^^^^^^^^
   ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/wire/frame.dart:416:7

    ╷
416 │       throw ArgumentError('PATH_CHALLENGE data must be 8 bytes');
    │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/wire/frame.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
asn1lib ^1.5.0 1.6.5 1.6.5
cryptography ^2.5.0 2.9.0 2.9.0
pointycastle ^3.7.0 3.9.1 4.0.0
x509 ^0.2.3 0.2.4+3 0.2.4+3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
crypto_keys - 0.3.0+1 0.3.1
ffi - 2.2.0 2.2.0
js - 0.7.2 0.7.2 Discontinued
matcher - 0.12.20 0.12.20
meta - 1.18.3 1.18.3
path - 1.9.1 1.9.1
quiver - 3.2.2 3.2.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
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.13 0.7.13
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.0` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle 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.14, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
685
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

A pure-Dart QUIC, HTTP/3, WebTransport, and libp2p transport stack.

Repository (GitHub)
View/report issues

Topics

#networking #quic #http3 #webtransport #libp2p

License

MIT (license)

Dependencies

asn1lib, cryptography, pointycastle, x509

More

Packages that depend on quic_lib