kreuzberg 1.0.0
kreuzberg: ^1.0.0 copied to clipboard
High-performance document intelligence library — extract text, metadata, tables from 97+ formats including PDF, DOCX, images, and email.
We analyzed this package 3 days ago, and awarded it 45 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
5/10 points: Use an OSI-approved license
Detected license: Elastic-2.0.
The following license are not OSI-approved: `Elastic-2.0`.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
266 out of 1478 API elements (18.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.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: kreuzberg, kreuzberg.AccelerationConfig, kreuzberg.AccelerationConfig.AccelerationConfig.new, kreuzberg.AccelerationConfig.deviceId, kreuzberg.AccelerationConfig.provider.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: Undefined class 'RustLibWasmModule'.
lib/src/kreuzberg_bridge_generated/frb_generated.web.dart:2299:38
╷
2299 │ @JS('wasm_bindgen') external RustLibWasmModule get wasmModule;
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/kreuzberg_bridge_generated/frb_generated.web.dart
ERROR: This requires the 'inline-class' language feature to be enabled.
lib/src/kreuzberg_bridge_generated/frb_generated.web.dart:2301:36
╷
2301 │ @JS() @anonymous extension type RustLibWasmModule._(JSObject _) implements JSObject {
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/kreuzberg_bridge_generated/frb_generated.web.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
flutter_rust_bridge |
^2.12.0 |
2.12.0 | 2.12.0 | |
freezed_annotation |
^2.4.0 |
2.4.4 | 3.1.0 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
build_cli_annotations |
- | 2.1.1 | 2.1.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
meta |
- | 1.18.2 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.4.0` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_CLASS-lib/src/kreuzberg_bridge_generated/frb_generated.web.dart:2299:38- Undefined class 'RustLibWasmModule'.EXPERIMENT_NOT_ENABLED-lib/src/kreuzberg_bridge_generated/frb_generated.web.dart:2301:36- This requires the 'inline-class' language feature to be enabled.NON_TYPE_AS_TYPE_ARGUMENT-lib/src/traits.dart:129:10- The name 'OcrBackendType' isn't a type, so it can't be used as a type argument.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.12, Dart 3.12.0.
Check the analysis log for details.