1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2025-04-07 02:29:39 +00:00

Clarify the need for actix-rt

This commit is contained in:
Elliot Jackson 2020-02-11 13:11:44 +01:00
parent aca6729e39
commit 27821db8bf

View file

@ -7,11 +7,11 @@
//! Actix web is a small, pragmatic, and extremely fast web framework
//! for Rust.
//!
//! ```toml
//! [dependencies]
//! actix-web = "2.0"
//! actix-rt = "1.0"
//! ```
//! ## Example
//!
//! The `#[actix_rt::main]` macro in the example below is provided by the Actix runtime
//! crate, [`actix-rt`](https://crates.io/crates/actix-rt). You will need to include
//! `actix-rt` in your dependencies for it to run.
//!
//! ```rust,no_run
//! use actix_web::{web, App, Responder, HttpServer};