cedar_ffi 0.1.4 copy "cedar_ffi: ^0.1.4" to clipboard
cedar_ffi: ^0.1.4 copied to clipboard

FFI bindings for the Cedar policy language, written in Rust.

0
likes
140/ 140
pub points
20%
popularity

We analyzed this package 4 days ago, and awarded it 140 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-Patent.

OK
Provide documentation
20 / 20trigger folding of the section

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

9 out of 42 API elements (21.4 %) have documentation comments.

Some symbols that are missing documentation: cedar_ffi.CedarEngine, cedar_ffi.CedarEngine.CedarEngine, cedar_ffi.CedarLogLevel, cedar_ffi.CedarLogLevel.CedarLogLevel, cedar_ffi.CedarPolicyLinkFfi.

10/10 points: Package has 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:cedar_ffi/cedar_ffi.dart that imports:
  • package:cedar_ffi/src/engine/cedar_engine.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf16.dart that imports:
  • dart:ffi
OK
Pass static analysis
50 / 50trigger folding of the section

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

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
built_collection ^5.1.1 5.1.1 5.1.1
built_value ^8.9.1 8.9.2 8.9.2
cedar ^0.1.1 0.1.3 0.1.3
cli_config >=0.1.1 <0.3.0 0.2.0 0.2.0
collection ^1.18.0 1.18.0 1.18.0
ffi ^2.1.0 2.1.2 2.1.2
json_annotation ^4.8.1 4.9.0 4.9.0
logging ^1.2.0 1.2.0 1.2.0
meta ^1.12.0 1.15.0 1.15.0
native_assets_cli ^0.5.0 0.5.4 0.6.0
native_toolchain_c ^0.4.0 0.4.1 0.4.2
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
crypto - 3.0.3 3.0.3
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
glob - 2.1.2 2.1.2
path - 1.9.0 1.9.0
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
yaml - 3.1.2 3.1.2

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

The constraint `^0.5.0` on native_assets_cli does not support the stable version `0.6.0`, that was published 0 days ago.

When native_assets_cli is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions native_assets_cli to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.