Skip to content

Commit

Permalink
Allows building registry.
Browse files Browse the repository at this point in the history
This allows for compiling the registry:
- Adds tonic dependency
- Adds prost dependency
- Adds `registry` to crate workspace
  • Loading branch information
xfbs committed Oct 12, 2023
1 parent 409e644 commit 5176321
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 1 deletion.
236 changes: 236 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ predicates = "3.0"
pretty_assertions = "1.4"
ring = "0.16.20"
hex = "0.4.3"

[workspace]
members = [".", "registry"]
2 changes: 2 additions & 0 deletions registry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ edition = "2021"

[dependencies]
buffrs = { path = "../" }
prost = "0.12.1"
tonic = "0.10.2"

[build-dependencies]
buffrs = { path = "../" }
2 changes: 2 additions & 0 deletions registry/Proto.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version = 1
packages = []
2 changes: 1 addition & 1 deletion registry/src/proto.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// (c) Copyright 2023 Helsing GmbH. All rights reserved.

buffrs::include!();
::buffrs::include!();

0 comments on commit 5176321

Please sign in to comment.