-
Notifications
You must be signed in to change notification settings - Fork 115
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 Rust client for Trusted Information Retrieval #1110
Conversation
Use Oak labels
- rust (used by default) | ||
- cpp | ||
-c Example client variant: | ||
- rust | ||
- cpp (used by default) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: This isn't quite selecting client implementation language; it's more selecting client build system: cargo (always Rust underneath) vs Bazel (usually C++ underneath, but could also be Go).
I don't think it worth changing just for pedantry's sake, but it may be relevant for thinking about how the Node.js client would fit in here (cc @juliettepretot )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good point. I was a bit puzzled by this, since the go client is run as a "cpp" client. :)
Reproducibility Index:
Reproducibility Index diff: |
elif [[ "${example}" == 'chat' ]]; then | ||
"${SCRIPTS_DIR}/run_example" -s "${server}" -a "${application_language}" -e chat -- --test | ||
elif [[ "${example}" == 'trusted_information_retrieval' ]]; then | ||
"${SCRIPTS_DIR}/run_example" -s "${server}" -a "${application_language}" -c rust -e trusted_information_retrieval -- --latitude 0.0 --longitude 0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just looking over this, does this mean we no longer run the cpp client in our CI, and instead run the rust client? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but this is only for TIR example
This change:
-c
argument for choosing client language inscripts
Fixes #1065
Checklist