Skip to content

Conversation

@tottoto
Copy link
Collaborator

@tottoto tottoto commented Sep 20, 2025

Motivation

It seems that axum is only used in a part of functionalities in axum-extra. If it can be turned off when it isn't used, it will improve compilation parallelism.

Solution

Makes axum an optional dependency and adds some features which enable axum.

@tottoto tottoto force-pushed the make-axum-optional branch 2 times, most recently from ce0663a to 4dbbca1 Compare September 20, 2025 06:46
@jplatte
Copy link
Member

jplatte commented Sep 20, 2025

I like it! Haven't reviewed closely yet though.

@jplatte jplatte merged commit d184798 into tokio-rs:main Sep 20, 2025
18 checks passed
@tottoto tottoto deleted the make-axum-optional branch September 20, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants