zstd_ffi 0.1.0 copy "zstd_ffi: ^0.1.0" to clipboard
zstd_ffi: ^0.1.0 copied to clipboard

zstd ffi binding for Dart. More better performance than flutter plugin.

0
likes
110/ 140
pub points
18%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: BSD-2-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

9 out of 224 API elements (4.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: _zstd, _zstd.ZSTD_BLOCKSIZELOG_MAX, _zstd.ZSTD_BLOCKSIZE_MAX, _zstd.ZSTD_CCtx, _zstd.ZSTD_CCtx_s.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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:zstd_ffi/zstd_ffi.dart that imports:
  • package:zstd_ffi/uint8_list_utils.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 217 issues. Showing the first 2:

INFO: The variable name 'ZSTD_versionNumber' isn't a lowerCamelCase identifier.

lib/_zstd.dart:21:7

   ╷
21 │   int ZSTD_versionNumber() {
   │       ^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: The variable name '_ZSTD_versionNumberPtr' isn't a lowerCamelCase identifier.

lib/_zstd.dart:25:14

   ╷
25 │   late final _ZSTD_versionNumberPtr =
   │              ^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
ffi ^2.0.0 2.1.2 2.1.2

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

0
likes
110
pub points
18%
popularity

Publisher

unverified uploader

zstd ffi binding for Dart. More better performance than flutter plugin.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

ffi

More

Packages that depend on zstd_ffi