Registry / web-framework / iron
library0.6.1rscratesunverified

Extensible, concurrency-focused web framework for Rust built on Hyper.

# Cargo.toml [dependencies] iron = "0.6.1"
INSTALL
IMPORT
SIG · IRON
I
iron
web-frameworkrustv0.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Iron
use iron::Iron;

Starts a basic HTTP server responding with 'Hello World!'.

use iron::prelude::*; use iron::status; fn hello_world(_: &mut Request) -> IronResult<Response> { Ok(Response::with((status::Ok, "Hello World!"))) } fn main() { Iron::new(hello_world).http("localhost:3000").unwrap(); }
Debug
Known issues
breakingIron is no longer actively maintained; consider using Actix-web, Rocket, or Axum.
fix
Migrate to a modern web framework like Axum or Actix-web.
affects: >=0.6.0
Upgrade
Version history
0.6.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
iron — cargo add iron · libregistry