trait prost::Message
not implemented for Timestamp
#1171
Labels
prost::Message
not implemented for Timestamp
#1171
Hello, I'm trying to use prost with a proto file that includes
google.protobuf.Timestamp
like so:I'm using prost-build with the following build script:
With these versions in my
Cargo.toml
:However when I try to build I get the following error messages:
This is with both rust
1.81
and1.77.2
, on Windows 10. I have tried usingprost-wkt-types
, setting thecompile_well_known_types
flag in theprost_build::Config
, and setting variousextern_path
values to try and map the types correctly. What is frustrating is that I can see the#[derive(..., ::prost::Message)]
on my instance of theTimestamp
struct in the cargo registry!Does anyone know how to fix this issue?
The text was updated successfully, but these errors were encountered: