search
Get Started
search
Poem - Web Framework
zoom_in Click to enlarge

Poem

language

description Poem Overview

Poetry is a modern Rust web framework designed to simplify asynchronous application development. It emphasizes an API-first approach and leverages Rust's concurrency features through its async architecture and WebSocket support. This makes it suitable for developers building APIs and real-time applications who value performance, safety, and the benefits of the Rust language.

help Poem FAQ

Is Poem the Rust framework related to Python's Poetry tool?

No. Poem is an asynchronous Rust web framework, while Poetry is a Python dependency-management and packaging tool; the similar names refer to unrelated projects.

How does Poem generate OpenAPI documentation?

The separate poem-openapi crate uses Rust types and macros to describe endpoints and schemas. It can expose generated documentation through interfaces such as Swagger UI, as shown in the [official crate documentation](https://docs.rs/poem-openapi/latest/poem_openapi/).

Can Poem handle WebSocket connections?

Yes. Poem provides a WebSocket extractor that upgrades an HTTP request and lets a handler process asynchronous messages, with examples available in the [Poem API documentation](https://docs.rs/poem/latest/poem/web/websocket/struct.WebSocket.html).

When would I choose Poem instead of Axum or Actix Web?

Poem is particularly attractive when integrated OpenAPI generation is central to an API project. Axum fits naturally into the Tokio and Tower ecosystem, while Actix Web has its own mature actor-influenced stack and extensive production history.

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Get updates
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare