-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update dino-park-fence to Actix 4, Tokio 1 #79
base: master
Are you sure you want to change the base?
Conversation
@bkochendorfer At your leisure, a test/deploy cycle on this (after regenerating Cargo.lock) would put -fence (0.8.2) onto the same dependency as -guard, -packs (0.9.1). |
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.
I just tried building this, and it looks like the new version doesn't build due to some version conflict.
@smarnach can you make sure you have the latest? I just pushed up some fixes. This was more complicated than just bumping a version, it required updating actix. |
Actually, the latest version does build – I didn't have the commits you added a few mintues ago yet. |
Err(e) => Err(e.into()), | ||
// if there was an error and self_query is none | ||
// enter nested match on enum error type CisClientError | ||
Err(e) if self_query => match e { |
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.
downcast
no longer existed on e
and we are returning a CisClientError
instead of a ProfileError
. ProfileError
is a variant of the CisClientError
enum and ProfileDoesNotExist
is a variant of the ProfileError
enum. This seems to be functionally equivalent of what was here before.
I can't build from this branch anymore:
I'm not sure what went wrong there, and unfortunately I don't have time to look into it before going on vacation. |
No problem @smarnach have a good vacation |
@smarnach I had the same issue, that version of dino-park-gate vanished so I updated to a newer one. |
IAM-975 is working to stabilize the dependency versions without the version bumps that were necessary up above; I'll revisit this PR once that's landed to capture the version patching work. |
Pulling in the latest dino-park-guard requires moving from actix 3 to actix 4.
9a85eab
to
5c05db7
Compare
@bkochendorfer Thanks for all the actix/tokio upgrade work here! I've rebased your work onto current so that it isn't lost, and will update this PR title to reflect that this incorporates your Actix/Tokio upgrade efforts. Much appreciated. |
This PR brings the dino-park-gate package into alignment so that we're not using a mix of 0.8 and 0.9 branches across our code.
Cargo.lock will need to be regenerated.