Skip to content

rustdoc does not emit Message impl for generated types #11

@fschutt

Description

@fschutt

I am not sure if I am too dumb, but I couldn't figure out how to actually read a file using the generated code an example would be really helpful.

Using prost, I've generated the rust bindings for the OpenStreetMap .pbf files: https://crates.io/crates/osm-proto-rs

And here is a small PBF file, for testing: https://github.com/sharazam/small-test-pbf-file

How do I read the file, for example the header block? Do I use bytes or just File::open or is there a hidden "Reader" somewhere? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions