poem VS Iron

Compare poem vs Iron and see what are their differences.

poem

A full-featured and easy-to-use web framework with the Rust programming language. (by poem-web)

Iron

An Extensible, Concurrent Web Framework for Rust (by iron)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
poem Iron
30 8
3,200 6,122
3.8% 0.0%
8.8 0.0
3 days ago over 1 year ago
Rust Rust
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

poem

Posts with mentions or reviews of poem. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.
  • Write OpenAPI with TypeSpec
    7 projects | news.ycombinator.com | 27 Mar 2024
    TypeSpec is great, but if you're working with Rust and you're about to write a new project that will require an OpenApi spec sooner or later, I'd like to recommend a web framework that has spec generation baked in:

    https://github.com/poem-web/poem (see poem_openapi)

    All you need to do is derive a trait on your response structs and in return you get an almost perfectly generated spec. Unions, objects, enums are first class citizens.

    Also, if you're from coming from PHP, the controllers feel very much like symfony controllers.

    P.s. Please do recommend an ORM that would feel closer to doctrine. I miss doctrine.

  • What is the best API generator for Axum?
    2 projects | /r/rust | 9 Apr 2023
    I've used FastAPI/Pydantic before as well and it was a very good experience. It has been a while since I used them though, so I forget exactly how they compare, but I do recall it wrote most of the OpenAPI spec. for you. I will also agree when I saw utoipa and aide they seemed to require more boilerplate even though I have not done an actual comparison. Poem, on the other hand, seems very neat and clean and doesn't have any duplication that I can see. Here is the [TODO example](https://github.com/poem-web/poem/blob/master/examples/openapi/todos/src/main.rs).
  • Looking for a Rust API with automatic documentation and good validation?
    4 projects | /r/rust | 5 Mar 2023
    The example at https://github.com/poem-web/poem/tree/master/examples/openapi/auth-apikey works without issues for me.
  • What library to use for a Websocket Server?
    1 project | /r/rust | 23 Feb 2023
    'Poem', it turns to nicer to play with for me than 'Axum'. Example of web socket chat https://github.com/poem-web/poem/blob/master/examples/poem/websocket-chat/src/main.rs
  • Rest API framework in rust
    2 projects | /r/rust | 5 Feb 2023
    If you need built-in OpenAPI support, I can recommend Poem.
  • (Recommendation Request) Rust REST API framework; similar to Python's FastAPI(Python)
    3 projects | /r/rust | 21 Jan 2023
    If OpenAPI is important, then you may to consider https://github.com/poem-web/poem instead of axum. It isn't nearly as widely used, but it should still be compatible with everything else.
  • Hey Rustaceans! Got a question? Ask here (3/2023)!
    12 projects | /r/rust | 16 Jan 2023
    Poem: More rigid and less popular and aims to be easier https://github.com/poem-web/poem
  • A taste of pavex, an upcoming Rust web framework
    3 projects | /r/rust | 24 Dec 2022
    Did you check out Poem? It seems promising, with openapi generation built in already.
  • I switch from Golang and want to build a REST API in Rust.
    6 projects | /r/rust | 22 Dec 2022
    https://github.com/poem-web/poem is a pretty nice framework
  • Migrating from warp to axum
    2 projects | /r/rust | 23 Nov 2022
    I recently been working with warp and stumbled upon poem framework (https://github.com/poem-web/poem), any thoughts about that? Considering Axum as well but staying a bit on cautionary side until 0.6 full release.

Iron

Posts with mentions or reviews of Iron. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-22.
  • Options for thread-per-request or thread-per-connection web servers?
    2 projects | /r/rust | 22 Apr 2023
    I've written many things using Iron and it's been fine. It's not particularly developed any more but I am not aware of any major outstanding issues.
  • Rocket v0.5-rc3 is out!
    6 projects | /r/rust | 24 Mar 2023
    I don't miss the time when we basically only had Iron
  • Which Rust web framework to choose in 2022 (with code examples)
    7 projects | dev.to | 27 Sep 2022
    iron
  • How do I chiose rust web framework in 2022?
    4 projects | /r/rust | 10 May 2022
    There're many web framework in rust, such as SergioBenitez/Rocket , actix/actix-web ,poem-web/poem , iron/iron . How do I chiose, anyone suggestion?
  • Noob Help
    3 projects | /r/rust | 10 Jan 2022
    I'm not sure which definition of backend you are thinking of here. In case you simply mean "server side", here are a couple of libraries that might be of use: iron - been a while since I used it, used it for a couple smaller projects rocket (nightly only) - no personal experience, but a lot of people seem to like it diesel - a bit complex to wrap your head around, but once you get the idea it's really nice. Definitely check out the examples.
  • Whats your favourite open source Rust project that needs more recognition?
    66 projects | /r/rust | 11 Oct 2021
    it's taken by a web framework https://github.com/iron/iron
  • Building a shared vision for Async Rust
    4 projects | news.ycombinator.com | 18 Mar 2021
    Your comment touches on a few misconceptions I see a lot.

    Firstly, `reqwest` exposes both an async and a synchronous API, allowing the developer to choose which one to use. They are largely interchangeable code-wise. [1]

    Secondarily, and more broadly, async is possible to opt out of. You must understand that most web and network related libraries will be async by default for performance, because people who write in Rust and people who write web servers typically care greatly about performance. This is the intersection of those two groups. That being said, there are options outside of that ecosystem. [2]

    If you truly want to use an asynchronous library without migrating your application to run entirely on an async runtime like tokio, you can run it inside of a synchronous function without much trouble. I've put together a playground link for you. [3]

    1. https://docs.rs/reqwest/0.11.2/reqwest/blocking/index.html

    2. Iron: https://github.com/iron/iron

  • Porting a serverless chatbot from Python to Rust
    11 projects | dev.to | 27 Jan 2021
    There are several web frameworks for Rust: Rocket, Actix, Warp, Iron - but only Actix has released a stable 1.0 release, and there has been considerable controversy over how it uses unsafe Rust.

What are some alternatives?

When comparing poem and Iron you can also consider the following projects:

axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper

actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

Rocket - A web framework for Rust.

jelly-actix-web-starter - A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.

Gotham - A flexible web framework that promotes stability, safety, security and speed.

async-graphql - A GraphQL server library implemented in Rust

Sapper - A lightweight web framework built on hyper, implemented in Rust language.

okapi - OpenAPI (AKA Swagger) document generation for Rust projects

The FastCGI Rust implementation. - Native Rust library for FastCGI

frank_jwt - JSON Web Token implementation in Rust.