carbon_aware_sdk 1.0.0+1 carbon_aware_sdk: ^1.0.0+1 copied to clipboard
A generated Dart SDK for the Carbon Aware SDK, from the Green Software Foundation.
We analyzed this package 7 days ago, and awarded it 110 pub points (of a possible 140):
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting carbon_aware_sdk... Discovering libraries... Linking elements... Precaching local docs for 160953 elements... Initialized dartdoc with 248 libraries Generating docs for library generated/api.dart from package:carbon_aware_sdk/generated/api.dart... Generating docs for library carbon_aware_sdk.dart from package:carbon_aware_sdk/carbon_aware_sdk.dart... Documented 2 public libraries in 31.6 seconds ERR: warning: unresolved doc reference [start...end] from package-carbon_aware_sdk: file:///tmp/pana_NLAKCV warning: carbon_aware_sdk has no library level documentation comments from carbon_aware_sdk: (file:///tmp/pana_NLAKCV/lib/generated/api.dart:11:9) warning: unresolved doc reference [start...end] from carbon_aware_sdk.CarbonAwareApi.batchForecastDataAsync: (file:///tmp/pana_NLAKCV/lib/generated/api/carbon_aware_api.dart:68:39) warning: unresolved doc reference [start...end] from carbon_aware_sdk.CarbonAwareApi.batchForecastDataAsyncWithHttpInfo: (file:///tmp/pana_NLAKCV/lib/generated/api/carbon_aware_api.dart:29:20) warning: unresolved doc reference [Optional] from carbon_aware_sdk.CarbonAwareApi.getBestEmissionsDataForLocationsByTime: (file:///tmp/pana_NLAKCV/lib/generated/api/carbon_aware_api.dart:313:32) [29 more lines]
10/10 points: Package has 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:carbon_aware_sdk/carbon_aware_sdk.dart
that imports:package:carbon_aware_sdk/generated/api.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/carbon_aware_sdk.dart:1:1
╷
1 │ /// A generated Dart SDK for the Carbon Aware SDK, from the
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/carbon_aware_sdk.dart
INFO: The part-of directive uses a library name.
lib/generated/api/carbon_aware_api.dart:11:1
╷
11 │ part of carbon_aware_sdk;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/generated/api/carbon_aware_api.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
http |
>=0.13.0 <0.14.0 |
0.13.6 | 1.2.1 |
intl |
^0.17.0 |
0.17.0 | 0.19.0 |
meta |
^1.1.8 |
1.14.0 | 1.14.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.11.0 | 2.11.0 |
clock |
- | 1.1.1 | 1.1.1 |
collection |
- | 1.18.0 | 1.18.0 |
http_parser |
- | 4.0.2 | 4.0.2 |
path |
- | 1.9.0 | 1.9.0 |
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 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=0.13.0 <0.14.0` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.
Try running dart pub upgrade --major-versions intl
to update the constraint.
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.