Skip to content

Commit

Permalink
Implement Cycling Tracker endpoint placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
esiebert committed Jul 4, 2024
1 parent d74c2ac commit c534cfd
Show file tree
Hide file tree
Showing 18 changed files with 349 additions and 1,041 deletions.
1 change: 1 addition & 0 deletions .rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
max_width = 88
115 changes: 115 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 @@ -15,6 +15,9 @@ async-stream = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rand = "0.8"
tonic-types = "0.11.0"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"

[build-dependencies]
tonic-build = "0.11"
7 changes: 3 additions & 4 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.type_attribute(".uselesspackage.Point", "#[derive(Eq)]")
.type_attribute(".uselesspackage.Point", "#[derive(Hash)]")
.file_descriptor_set_path("src/useless.bin")
.compile(&["proto/useless.proto"], &["proto"])
.file_descriptor_set_path("src/cyclingtracker.bin")
.compile(&["proto/cyclingtracker.proto"], &["proto"])
.unwrap();

Ok(())
}
Loading

0 comments on commit c534cfd

Please sign in to comment.