Comments (2)
Prost-build expects to be able to find source code info from the protoc
compiler so that it can include doc comments from the original protoc file. Without any valid source info, prost-build
will error out. It sounds like you're using a non-standard protobuf compiler, which may not provide this source info. It's possible that we could support this by providing a default empty source info if none is provided, but there may be deeper expectations within prost-build
itself that would expect to find some source info (even if empty) for every item.
from protoc-gen-prost.
@neoeinstein any chance this is fixed in the newer version?
https://github.com/tokio-rs/prost/blob/master/prost-build/src/code_generator.rs#L54
from protoc-gen-prost.
Related Issues (20)
- [Bug] `protoc-gen-prost` 0.2.1 now is broken directly from cargo registry HOT 4
- plugin prost-crate: The system couldn't find the given file. (os error 2) HOT 5
- protoc-gen-prost-serde: doesn't generate .serde.rs for module with "type" in its name HOT 2
- Failure when compiling with file_descriptor_set HOT 3
- How to properly use protoc-gen-prost-crate
- Failure with tonic when a proto file has only service definitions HOT 6
- Release a new version of protoc-gen-prost-crate HOT 1
- Add example for how to use well known types with buf HOT 1
- add max message size configuration to generated service HOT 1
- More verbose error message when compilation fails HOT 1
- Bug: Protos with duplicate package names fail to generate any files
- Missing tags on latest release HOT 1
- File generated by tonic cannot compile directly HOT 1
- Update generation to prost 0.12 HOT 3
- Failure: plugin prost-crate: could not find protoc plugin for name prost-crate - please make sure protoc-gen-prost-crate is installed and present on your $PATH HOT 4
- Support `axum-connect` code gen HOT 2
- Missing support for option json_name HOT 1
- `exclude` option not supported in protoc-gen-prost-serde
- How to replace include!("v1.account.rs") on #[path = "v1.account.rs"] ?
- Suggestion: support the `prost_build::Config::include_file` option HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protoc-gen-prost.