-
Notifications
You must be signed in to change notification settings - Fork 16
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
Setup endpoint crate structure and required dependencies #102
Comments
When creating a new |
We've used very similar actix-web project skeletons in syncstorage-rs and recently tokenserver-rs, they'd be worth taking a look at. |
@jrconlin set up a template in https://github.com/mozilla-services/autoendpoint-rs so I'll apply the work I've done up to now to that repo (and link with |
A discussion was held about having a separate repo vs using this repo, conclusion is to use this repo for now and switch over to a separate repo if it's not working out. |
* Add Python virtual env directory to gitignore * feat: Add autoendpoint crate Based off of the template from https://github.com/mozilla-services/autoendpoint-rs, but with some modifications such as removing unused dependencies. Closes #102 * Fix autoendpoint's include_str of version.json * Replace failure with thiserror * Remove unnecessary box over StatsdClient * docs: Add a WIP runbook for autoendpoint * Use default settings if no config is given * Remove envlogger todo * Simplify ApiError serialization * Add TODO to verify error schema is correct * Fix Cargo.lock issues after rebase * Add backtrace support to autoendpoint error and improve usability ApiError has a display impl which prints out the kind, backtrace, and source error chain. * Use more exact error type for metrics_from_opts * Simplify metrics_from_req * Remove unused imports
Create the autoendpoint crate, copy/update main/settings from autopush and setup basic module structure with the actix framework.
The text was updated successfully, but these errors were encountered: