Skip to main content

stem_mqtt 0.9.4 copy "stem_mqtt: ^0.9.4" to clipboard
stem_mqtt: ^0.9.4 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.

110/ 160
pub points
1.01k
downloads

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

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

Failed check 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:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: stem_mqtt,
    • contains a version property, and,
    • does not contain a publish_to property.

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
0 / 20trigger folding of the section

Failed check 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 141508 elements... Initialized dartdoc with 58 libraries Generating docs for library mqtt_client.dart from package:stem_mqtt/mqtt_client.dart... Generating docs for library uniffi_runtime.dart from package:stem_mqtt/uniffi_runtime.dart... Generating docs for library mqtt_broker.dart from package:stem_mqtt/mqtt_broker.dart... Documented 3 public libraries in 11.2 seconds ERR: warning: uniffi has no library level documentation comments from uniffi: (file:///tmp/pana_TRMOCA/lib/mqtt_client.dart:1:1) warning: uniffi_runtime has no library level documentation comments from uniffi_runtime: (file:///tmp/pana_TRMOCA/lib/uniffi_runtime.dart:1:1) warning: uniffi has no library level documentation comments from uniffi: (file:///tmp/pana_TRMOCA/lib/mqtt_broker.dart:1:1) error: file already written at "uniffi/index.html" for symbol uniffi: (file:///tmp/pana_TRMOCA/lib/mqtt_broker.dart:1:1) conflicting with file already generated by uniffi: (file:///tmp/pana_TRMOCA/lib/mqtt_client.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [204 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:stem_mqtt/mqtt_broker.dart that imports:
  • package:stem_mqtt/uniffi_runtime.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi
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 365 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

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
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.

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.14.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
1.01k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Topics

#mqtt #broker #networking #iot

License

MIT (license)

Dependencies

code_assets, ffi, hooks

More

Packages that depend on stem_mqtt