capnpc_dart_builder 0.2.0 copy "capnpc_dart_builder: ^0.2.0" to clipboard
capnpc_dart_builder: ^0.2.0 copied to clipboard

build_runner integration for capnpc-dart. Add as a dev_dependency to generate .capnp.dart files from .capnp schema files via `dart run build_runner build`, instead of invoking `capnp compile` yourself [...]

License

MIT License

Copyright (c) 2026 AngryMane

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
0
likes
130
points
106
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

build_runner integration for capnpc-dart. Add as a dev_dependency to generate .capnp.dart files from .capnp schema files via `dart run build_runner build`, instead of invoking `capnp compile` yourself. Requires the official `capnp` CLI to be installed separately — this package does not parse .capnp syntax itself, it only shells out to `capnp compile -o-` and hands the result to capnpc_dart.

Repository (GitHub)
View/report issues
Contributing

Topics

#capnproto #code-generation #build-runner

License

MIT (license)

Dependencies

build, capnpc_dart, path

More

Packages that depend on capnpc_dart_builder