rpc_dart_transports 1.8.0
rpc_dart_transports: ^1.8.0 copied to clipboard
RPC Dart Transports library
We analyzed this package 21 hours ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: rpc_dart_transports.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: rpc_dart_transports, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
179 out of 227 API elements (78.9 %) have documentation comments.
Some symbols that are missing documentation: rpc_dart_transports.ReconnectAttempt.ReconnectAttempt.new, rpc_dart_transports.ReconnectConfig.ReconnectConfig.new, rpc_dart_transports.RpcHttp1CallerTransport, rpc_dart_transports.RpcHttp1CallerTransport.RpcHttp1CallerTransport.connect, rpc_dart_transports.RpcHttp1CallerTransport.addIncomingMessage.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:rpc_dart_transports/rpc_dart_transports.dartthat imports:package:rpc_dart_transports/src/transports/_index.dartthat imports:package:rpc_dart_transports/src/transports/http2/_index.dartthat imports:package:rpc_dart_transports/src/transports/http2/rpc_http2_server.dartthat imports:package:rpc_dart_transports/src/transports/http2/rpc_http2_responder_transport.dartthat imports:package:rpc_dart_transports/src/transports/http2/rpc_http2_common.dartthat imports:package:http2/http2.dartthat imports:package:http2/transport.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 34 issues. Showing the first 2:
ERROR: The name 'IRpcServer' is defined in the libraries 'package:rpc_dart/src/integration/rpc_server_interface.dart (via package:rpc_dart/rpc_dart.dart)' and 'package:rpc_dart_transports/src/server/rpc_server_interface.dart'.
lib/src/transports/http/rpc_http1_server.dart:14:39
╷
14 │ final class RpcHttp1Server implements IRpcServer {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/transports/http/rpc_http1_server.dart
ERROR: Classes and mixins can only implement other classes and mixins.
lib/src/transports/http/rpc_http1_server.dart:14:39
╷
14 │ final class RpcHttp1Server implements IRpcServer {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/transports/http/rpc_http1_server.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.7 |
3.0.7 | 3.0.7 | |
http2 |
^2.3.1 |
2.3.1 | 2.3.1 | |
isolate_manager |
^6.1.2 |
6.1.2 | 6.1.2 | |
licensify |
^4.4.0 |
4.4.0 | 4.4.0 | Discontinued |
rpc_dart |
^2.4.0 |
2.4.1 | 2.4.1 | |
universal_io |
^2.3.1 |
2.3.1 | 2.3.1 | |
web |
^1.1.1 |
1.1.1 | 1.1.1 | |
web_socket_channel |
^3.0.3 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
cryptography |
- | 2.9.0 | 2.9.0 | |
equatable |
- | 2.0.8 | 2.0.8 | |
ffi |
- | 2.2.0 | 2.2.0 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
meta |
- | 1.18.1 | 1.18.1 | |
paseto_dart |
- | 2.1.0 | 2.1.0 | |
path |
- | 1.9.1 | 1.9.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
web_socket |
- | 1.0.1 | 1.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- licensify.
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.23.9, Dart 3.11.0.
Check the analysis log for details.