-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Migrate from rusoto to aws-sdk-rust #575
Comments
Agreed, it would be good to stay on a maintained library for the future and rusoto has indicated they will stop development once the aws-sdk-rust is stable. So while this isn't urgent it makes sense in the long term. @josb would you be up for contributing a PR for this? |
@flub this seems like a good project to further hone my Rust skills. Challenge accepted. :-) |
FYI I'm still working on this, albeit slowly. |
Great to hear! I was just wondering about this task because of #728 which may or may not be about not speaking to S3 correctly. |
I just chatted with @mk4437 about this, will bump in priority. Stay tuned. |
A quick update: this is current stuck on 1 compilation error which seems to center around the HTTP response body being a different type between Rusoto and aws-sdk-rust. Haven't figured out a way to fix this yet. |
If you have a branch somewhere we can check out I wouldn't mind having a look at it. |
Sure! https://github.com/josb/symbolicator/tree/task/aws-sdk-rust-migration. Let me know what you think. |
I think you can use |
Thanks for the pointers, @flub. I'm currently struggling with this approach:
which yields an This isn't a problem with the
Any suggestions? |
huh, I take my earlier advice back. I looked a bit at the current and your version and instead I think you'll be better off changing the (I'd be tempted to remove the lock and instead spawn a task responsible for the cache, send and retrieve clients from it over channels.) |
Another response is that you might have forgotten to clone the cache item before returning it. If you keep this way you avoid having a mutex over await points, which is good, but you'll end up with racing creation of creating of new clients, which is probably fine. |
yep, that works fine too i think |
https://github.com/josb/symbolicator/tree/task/aws-sdk-rust-migration now compiles without warnings. Up next: Also:
|
FYI, I'll return to working on this as time permits, hopefully I'll have an update soon. |
https://github.com/awslabs/aws-sdk-rust is shaping up to be a great long-term replacement for https://github.com/rusoto/rusoto; this project should consider migrating to it.
The text was updated successfully, but these errors were encountered: