Skip to content
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

Warp Integration: Yet another web framework support #404

Merged
merged 6 commits into from
Jan 4, 2024

Conversation

thatguydoru
Copy link
Contributor

This implements warp::Reply for Markup, making it possible to return it from a handler and making maud more pleasing to use with warp.

@@ -27,6 +27,7 @@ actix-web-dep = { package = "actix-web", version = "4", optional = true, default
tide = { version = "0.16.0", optional = true, default-features = false }
axum-core = { version = "0.4", optional = true }
http = { version = "1", optional = true }
Copy link
Owner

Choose a reason for hiding this comment

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

Hmm, looks like Axum uses http 1.0, but Warp uses http 0.2. But since the Warp integration doesn't use the http dependency directly, it still works out? Still something to look out for in the future.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted, I'll have a close eye on it. 🙇

@lambda-fairy
Copy link
Owner

Thanks!

The http dependency issue looks ok for now, so let's merge this and revisit if it causes problems later.

@lambda-fairy lambda-fairy merged commit 320add8 into lambda-fairy:main Jan 4, 2024
4 checks passed
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.

2 participants