Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Update axum to 0.6.1 and update other packages - #7784

Merged
NateBrady23 merged 7 commits into
TechEmpower:masterfrom
romanstingler:master
Jan 31, 2023
Merged

NateBrady23 merged 7 commits into
TechEmpower:masterfrom
romanstingler:master

Conversation

@romanstingler

Copy link
Copy Markdown
Contributor

No description provided.

@romanstingler romanstingler changed the title Update axium to 0.6.1 and update other packages Update axum to 0.6.1 and update other packages Dec 11, 2022
@romanstingler

Copy link
Copy Markdown
Contributor Author

@jplatte hey I updated axum and the other deps maybe you can have a look at it.
I just started this week with rust.
So it would be beneficial if someone could check it.

Comment thread frameworks/Rust/axum/Cargo.toml Resolved
@jplatte

jplatte commented Dec 11, 2022

Copy link
Copy Markdown
Contributor

Did you run a cargo update inside the directory with Cargo.toml? That might upgrade some indirect dependencies (I'm asking because you also bumped many minimum version requirements in Cargo.toml for no apparent reason).

@jplatte jplatte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it seems like you are misunderstanding dependency requirements in Cargo.toml. While they don't hurt, every version increase outside of the one for axum doesn't really make a difference, because a requirement like futures = "0.3.21" is equivalent to futures = ">=0.3.21 <0.4" (docs). Please run cargo update to actually get all of the latest crate versions (including of indirect dependencies).

Comment thread frameworks/Rust/axum/src/main_pg.rs Resolved
Comment thread frameworks/Rust/axum/Cargo.toml Resolved
@romanstingler

Copy link
Copy Markdown
Contributor Author

@jplatte
I addressed your comments and did some cleanup based on clippy's suggestions.
I tested it locally, and it verified and run the benchmarks just fine.

offtopic: wo kann ich dir das Lehrgeld überweisen? :)

@NateBrady23

Copy link
Copy Markdown
Member

Is this good to be merged?

@jplatte jplatte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this good to be merged?

Yes.

@NateBrady23
NateBrady23 merged commit dc7a3d1 into TechEmpower:master Jan 31, 2023
franz1981 pushed a commit to franz1981/FrameworkBenchmarks that referenced this pull request Jun 23, 2023
* Update axium to 0.6.1 and update other packages

* Cleanup Buildflags

* Use FromRequestParts instead of FromRequest

* package updates and fixed parameter order for updates and query function

* update docker base image

* remove explicit deref which will be handled bu auto-deref

---------

Co-authored-by: Roman Stingler <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants