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

add a rust trycp client crate #209

Merged
merged 3 commits into from
Jun 3, 2024
Merged

add a rust trycp client crate #209

merged 3 commits into from
Jun 3, 2024

Conversation

neonphog
Copy link
Contributor

@neonphog neonphog commented May 31, 2024

  • Pulls some shared protocol types out into a trycp_api crate to be used by both the server and client.
  • Adds a trycp_client crate that can be used to talk to a trycp server.

@neonphog neonphog requested review from ThetaSinner and jost-s June 3, 2024 18:17
@neonphog neonphog marked this pull request as ready for review June 3, 2024 18:17
Copy link
Member

@ThetaSinner ThetaSinner left a comment

Choose a reason for hiding this comment

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

Looks great!

@@ -0,0 +1,10 @@
[package]
name = "trycp_api"
version = "0.0.100-alpha0"
Copy link
Member

Choose a reason for hiding this comment

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

We should probably start versioning these, can it just match the tryorama minor version for now @jost-s?

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool

serde_json = "1.0.117"
tokio = { version = "1.38.0", features = [ "full" ] }
tokio-tungstenite = "0.21"
trycp_api = { version = "0.0.100-alpha0", path = "../trycp_api" }
Copy link
Member

Choose a reason for hiding this comment

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

To the workspace for easy finding when updating versions? No release-automation here :)

Copy link
Contributor

@jost-s jost-s left a comment

Choose a reason for hiding this comment

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

Awesome!

I suggest smoke tests for the client at some stage.

@ThetaSinner
Copy link
Member

Yep, absolutely agree - for now Wind Tunnel is going to be using this so we'll have reasonably quick feedback if something breaks :)

@neonphog neonphog mentioned this pull request Jun 3, 2024
@ThetaSinner ThetaSinner merged commit 4d69771 into develop Jun 3, 2024
2 checks passed
@ThetaSinner ThetaSinner deleted the rust-client branch June 3, 2024 19:03
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.

3 participants