Closed ernoc closed 3 months ago
Motivations for moving the building of crypto.proto and not have each crate build protos using prost in its own build.rs script and include the resulting output:
Please make sure that other internal clients will keep working (e.g. TB, which is on Git-on-Borg)
Please make sure that other internal clients will keep working (e.g. TB, which is on Git-on-Borg)
Please make sure that other internal clients will keep working (e.g. TB, which is on Git-on-Borg)
- Everything still builds and tests ok with cargo - this PR only adds bazel.
- How can I test that?
From code search I see TB are importing as:
use oak_attestation::proto::oak::crypto::v1::Signature;
which won't be affected as that structure is kept in this PR (oak_attestation/src/lib.rs)
Also move building of crypto microrcp protos into oak_proto_rust crate.
Change-Id: I3d684aa6c8d1bc104a4551d655438bc52c407a83