Closed jaredliu2018 closed 7 months ago
What is the error you are getting? I think protobuf-codegen should only be for generating these files, using them should not require it? (I could be wrong).
I put demoparse into my project as a submodule. When I build csgoproto I got error below:
error[E0433]: failed to resolve: use of undeclared crate or module protobuf_codegen
--> demoparser\src\csgoproto\src\main.rs:2:5
|
2 | protobuf_codegen::Codegen::new()
| ^^^^^^^^^^^^^^^^ use of undeclared crate or module protobuf_codegen
I'm using it in rust directly and the csgoproto project can't compile. I think "protobuf-codegen" should be added to Cargo.toml.