Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial api design #10

Merged
merged 9 commits into from
Mar 14, 2024
Merged

Initial api design #10

merged 9 commits into from
Mar 14, 2024

Conversation

move47
Copy link
Contributor

@move47 move47 commented Mar 12, 2024

Implements the bare minimum API specs to receive events from Hotshot.

@move47 move47 requested a review from nyospe March 12, 2024 17:45
@move47 move47 marked this pull request as draft March 12, 2024 17:45
Copy link
Contributor

@nyospe nyospe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this just the bare API definition? The next step will be to set up the service loop? Specifically, we know the point of this is to run the hotshot_handle.get_event_stream() loop and push the events to all of the API subscribers.

Anyway, it looks like a good start. Get the clippy issues fixed, and we can merge, and continue from there.

Cargo.toml Outdated
@@ -1,5 +1,5 @@
[package]
name = "hs-builder-api"
name = "hotshot-events-service"
version = "0.1.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's start this at "0.1.0"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

src/events.rs Outdated Show resolved Hide resolved
@move47 move47 self-assigned this Mar 13, 2024
@move47 move47 marked this pull request as ready for review March 13, 2024 22:14
Copy link
Contributor

@nyospe nyospe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@move47 move47 merged commit 17db34b into main Mar 14, 2024
4 checks passed
@move47 move47 deleted the initial_api_design branch April 3, 2024 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants