stem_mqtt 0.9.1
stem_mqtt: ^0.9.1 copied to clipboard
MQTT 3.1.1 / 5.0 client and broker with a Rust core (UniFFI bindings): QoS 0/1/2, TLS, WebSocket, shared subscriptions, MQTT 5 enhanced auth. Builds the native library with cargo.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Could not find any pubspec.yaml in the repository.
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: stem_mqtt, - 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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting stem_mqtt... Discovering libraries... Linking elements... Precaching local docs for 141482 elements... Initialized dartdoc with 58 libraries Generating docs for library uniffi_runtime.dart from package:stem_mqtt/uniffi_runtime.dart... Generating docs for library mqtt_client.dart from package:stem_mqtt/mqtt_client.dart... Generating docs for library mqtt_broker.dart from package:stem_mqtt/mqtt_broker.dart... Documented 3 public libraries in 10.1 seconds ERR: warning: uniffi_runtime has no library level documentation comments from uniffi_runtime: (file:///tmp/pana_TDLCQC/lib/uniffi_runtime.dart:1:1) warning: uniffi has no library level documentation comments from uniffi: (file:///tmp/pana_TDLCQC/lib/mqtt_client.dart:1:1) warning: uniffi has no library level documentation comments from uniffi: (file:///tmp/pana_TDLCQC/lib/mqtt_broker.dart:1:1) error: file already written at "uniffi/index.html" for symbol uniffi: (file:///tmp/pana_TDLCQC/lib/mqtt_broker.dart:1:1) conflicting with file already generated by uniffi: (file:///tmp/pana_TDLCQC/lib/mqtt_client.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [204 more lines]
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:stem_mqtt/mqtt_broker.dartthat imports:package:stem_mqtt/uniffi_runtime.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 367 issues. Showing the first 2:
INFO: The variable name 'new_offset' isn't a lowerCamelCase identifier.
lib/mqtt_broker.dart:36:9
╷
36 │ int new_offset = buf.offsetInBytes;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/mqtt_broker.dart
INFO: The variable name 'id_lifted' isn't a lowerCamelCase identifier.
lib/mqtt_broker.dart:37:11
╷
37 │ final id_lifted = FfiConverterUInt64.read(
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/mqtt_broker.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
code_assets |
^1.0.0 |
1.0.0 | 2.2.0 | |
ffi |
^2.1.0 |
2.2.0 | 2.2.0 | |
hooks |
^1.0.0 |
1.0.3 | 2.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.8 | 3.0.8 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.1 | 2.2.1 | |
record_use |
- | 0.6.0 | 1.1.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
yaml |
- | 3.1.4 | 3.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.0` on code_assets does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions code_assets to update the constraint.
The constraint `^1.0.0` on hooks does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions hooks to update the constraint.
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.19, Dart 3.14.0.
Check the analysis log for details.