-
Notifications
You must be signed in to change notification settings - Fork 501
Update more deps #6057
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 more deps #6057
Conversation
| username = "0.2" | ||
| # We cannot upgrade to utoipa 5.0+ due to significant breaking changes: | ||
| # 1. The `OpenApi` struct structure changed (fields are private), breaking our manual merging logic in openapi.rs | ||
| # in `quickwit-serve`. This code is fundamentally incompatible with version 5.x. |
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.
Here is a PR that tried to upgrade utoipa to 5.0:
https://github.com/quickwit-oss/quickwit/pull/6058/changes with a lot of changes.
| "hex", | ||
| "http 1.4.0", | ||
| "ring 0.17.14", | ||
| "ring", |
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.
Cool! A PR that removes dependencies 👍
|
|
||
| use rand::distributions::Alphanumeric; | ||
| use rand::prelude::*; | ||
| use rand_distr::Alphanumeric; |
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.
why not rand::distr::Alphanumeric?
https://docs.rs/rand/latest/rand/distr/struct.Alphanumeric.html
quickwit/quickwit-common/Cargo.toml
Outdated
| pnet = { workspace = true } | ||
| prometheus = { workspace = true } | ||
| rand = { workspace = true } | ||
| rand_distr = { workspace = true } |
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.
This might not be necessary.
rand::distr seem to have the essentials. The advanced distributions like LogNormal are not in there but I suspect we only use those for tests (so that's a dev-dependencies)
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.
sounds good, Removed.
fulmicoton-dd
left a comment
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.
Good job! Can you see if you can reduce the use of rand_distr to dev dependencies?
* update otl and rand family deps * update lindera family * update 3rd party license * fix tests * update the deps * fix fmt * uodate 3rd license * update gcp deps family * update 3rd party license * upgrade gcp * update the gcp deps * update tabled version * update tabled * update the logic * remove no-fail-fast * update console subscriber * fix fmt * add resource back * add shutdown to trace_provider * remove comments * add the comment * fix fmt * update lindera family deps * add comments for lindera family * update tikv family * update nom dep * update deps * update 3rd party license * add comments for utoipa * address comments * address comments * address comments * update 3rd party file * update lint
Description
Update more deps by running:
How was this PR tested?