mojom 0.2.36

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 33

mojom

This package is a placeholder for generated mojom bindings. It contains a script lib/generate.dart.

This script generates Mojo bindings for a Dart package. Dart packages will be populated according to the DartPackage annotations in .mojom files. Any .mojom files that don't have an annotation will have their bindings generated into a local copy of the 'mojom' package. Annotations specifying the host package will cause generation into the host package's lib/ directory. For every other DartPackage annotation, the bindings will be generated into the named package, either into the global package cache if a package of that name has already been fetched, or into a local directory created under the current package's packages/ directory.

Generated Mojo bindings in other pub packages should be installed into this package by saying the following after pub get:

$ dart -p packages packages/mojom/generate.dart

If desired, additional directories holding .mojom.dart files can be specified; their contents will be installed to this package as well:

$ dart -p packages packages/mojom/generate.dart -a </path/to/mojom/dir>

Full options:

$ dart packages/mojom/generate.dart [-p package-root]
                                    [-a additional-dirs]
                                    [-m mojo-sdk]
                                    [-g]  # Generate from .mojom files
                                    [-d]  # Download from .mojoms files
                                    [-i]  # Ignore duplicates
                                    [-v]  # verbose
                                    [-f]  # Fake (dry) run

0.2.36

MOJO_SDK: 90cb16c48b85cba1be86b2556ce40fd71a52ec4a

0.2.35

MOJO_SDK: 93737a9cc4aa351037c03bc307a34b7a4036798e

0.2.34

MOJO_SDK: abd459df00c19687f5f4d5290033ddbbc33d6583

0.2.33

MOJO_SDK: 5cdbd5dc103fe6f715af3387b43b85436f4cd131

0.2.32

MOJO_SDK: 850e9e46981b42869f5217119faeeb1444781210

0.2.31

MOJO_SDK: 7615ee57250e71eb370a9ad808dbcfba2028eec8

0.2.30

MOJO_SDK: 9fee97604c5f232308a7d7af3373734b090c875c

0.2.29

MOJO_SDK: ef526bb5c9a4a340d0b98375a7721861f7b06b70

0.2.28

MOJO_SDK: c7c9fc0bafaac2a6f357c1231fa40d3dc2310220

0.2.27

MOJO_SDK: e4d03ca48527afe3d6090c01b486e83d87bfa8af

0.2.26

MOJO_SDK: ccedda3926e3d933890a98ea3e5f83446bddff19

0.2.25

MOJO_SDK: 5bb113eb0d57135418e7a01613fe53e298e0b2d4

0.2.24

MOJO_SDK: ccd4c03ab17fabd1cc8f6bfa9ecb7ef697070de8

0.2.23

MOJO_SDK: 368aeb022cfcfbff1d497cbe5f841d35de3d7beb

0.2.22

MOJO_SDK: 9da3423f38d27e51da52bbc42afd60779d13db43

0.2.21

MOJO_SDK: c1cebef28defaba64d168b2cfd5a5425b27d9112

0.2.20

MOJO_SDK: 64f99bc8253b89c1a128a2ed64490f2f9216a41a

0.2.19

MOJO_SDK: eea814b3f09df6ca7e906544d7ebffeea3741c79

0.2.18

MOJO_SDK: b3aaccc8d9408bc645ee633e7030c605f333be95

0.2.17

MOJO_SDK: 2ae2bccb82f37947c69ab5d6e06c2d109690a394

0.2.16

MOJO_SDK: ebf435275996a69482ea342aa3ae881aecd6c90e

0.2.15

MOJO_SDK: 3f50c60f8af5bb485f248ceea2407a59f09caad5

0.2.14

0.2.13

0.2.12

0.2.11

0.2.10

0.2.9

0.2.8

0.2.7

0.2.6

0.2.5

0.2.4

0.2.3

0.2.2

0.2.0

0.1.0

Declare dependency on mojo 0.1.x

0.0.25

0.0.23

0.0.22

0.0.18

0.0.17

0.0.16

0.0.15

0.0.14

0.0.13

0.0.12

0.0.11

0.0.10

0.0.8

  • Update version to match sky package. 0.0.6 and 0.0.7 were skipped.

0.0.5

  • First update after dart dev summit to match mojo and sky packages.

0.0.1

  • Initial placeholder package for generated mojom bindings.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  mojom: "^0.2.36"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

Version Uploaded Documentation Archive
0.2.36 Aug 17, 2016 Go to the documentation of mojom 0.2.36 Download mojom 0.2.36 archive
0.2.35 Jul 1, 2016 Go to the documentation of mojom 0.2.35 Download mojom 0.2.35 archive
0.2.34 Jun 28, 2016 Go to the documentation of mojom 0.2.34 Download mojom 0.2.34 archive
0.2.33 Jun 13, 2016 Go to the documentation of mojom 0.2.33 Download mojom 0.2.33 archive
0.2.32 Jun 2, 2016 Go to the documentation of mojom 0.2.32 Download mojom 0.2.32 archive
0.2.31 May 23, 2016 Go to the documentation of mojom 0.2.31 Download mojom 0.2.31 archive
0.2.30 May 18, 2016 Go to the documentation of mojom 0.2.30 Download mojom 0.2.30 archive
0.2.29 May 13, 2016 Go to the documentation of mojom 0.2.29 Download mojom 0.2.29 archive
0.2.28 May 7, 2016 Go to the documentation of mojom 0.2.28 Download mojom 0.2.28 archive
0.2.27 Apr 7, 2016 Go to the documentation of mojom 0.2.27 Download mojom 0.2.27 archive

All 38 versions...

Analysis

We analyzed this package on Jun 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
2 / 100
Health:
Code health derived from static analysis. [more]
96 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
14 / 100
Overall score:
Weighted score of the above. [more]
33
Learn more about scoring.

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in libraries.

Suggestions

  • Homepage does not exists.

    We were unable to access https://github.com/domokit/mojo at the time of the analysis.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 error 10 hints.

    Strong-mode analysis of lib/src/mojom_finder.dart failed with the following error:

    line: 139 col: 37
    The method 'readAsString' isn't defined for the class 'FileSystemEntity'.

    Strong-mode analysis of lib/src/generate.dart gave the following hint:

    line: 404 col: 35
    'packageRoot' is deprecated and shouldn't be used.

    Similar analysis of the following files failed:

    • lib/src/utils.dart (hint)
  • Package is getting outdated.

    The package was released 95 weeks ago.

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use mojom.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.9.0 <2.0.0
args >=0.13.0 <1.0.0 0.13.7 1.4.3
crypto >=0.9.0 <1.0.0 0.9.2+1 2.0.5
logging >=0.11.0 <1.0.0 0.11.3+1
mojo_sdk 0.2.32 0.2.32
path >=1.3.5 <2.0.0 1.6.1
yaml ^2.1.8 2.1.14
Transitive dependencies
charcode 1.1.1
collection 1.14.10
convert 1.1.1 2.0.1
mojo 0.4.28
mojo_services 0.4.35
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
Dev dependencies
unittest >=0.11.5+4 <0.12.0