Registry / web-framework / iron-cors

iron-cors

JSON →
library0.8.0rscratesunverified

A CORS middleware implementation for Iron.

# Cargo.toml [dependencies] iron-cors = "0.8.0"
INSTALL
IMPORT
SIG · IRON-CORS
I
iron-cors
web-frameworkrustv0.8.0
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.

CorsMiddleware
use iron_cors::CorsMiddleware;

Creates a CORS middleware for the Iron web framework.

use iron_cors::CorsMiddleware; fn main() { let middleware = CorsMiddleware::new(); println!("CORS middleware created"); }
Debug
Known issues
breakingIron web framework is deprecated; consider using Actix or Rocket.
fix
Migrate to a modern web framework like Actix-web.
affects: >=0.8.0
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
iron-cors — cargo add iron-cors · libregistry