feat(tvix/castore): derive Eq and Hash automatically
This allows these messages to be put in HashSets. Change-Id: Ia58094cafe53eb624578821d3d8d969c5d21a1d7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11219 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
345a639e79
commit
9793745459
2 changed files with 2 additions and 3 deletions
|
|
@ -15,6 +15,7 @@ fn main() -> Result<()> {
|
|||
// https://github.com/hyperium/tonic/issues/908
|
||||
let mut config = prost_build::Config::new();
|
||||
config.bytes(["."]);
|
||||
config.type_attribute(".", "#[derive(Eq, Hash)]");
|
||||
|
||||
builder
|
||||
.build_server(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue