mirror of https://github.com/fafhrd91/actix-web
Clarify the need for actix-rt
This commit is contained in:
parent
aca6729e39
commit
27821db8bf
10
src/lib.rs
10
src/lib.rs
|
@ -7,11 +7,11 @@
|
||||||
//! Actix web is a small, pragmatic, and extremely fast web framework
|
//! Actix web is a small, pragmatic, and extremely fast web framework
|
||||||
//! for Rust.
|
//! for Rust.
|
||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ## Example
|
||||||
//! [dependencies]
|
//!
|
||||||
//! actix-web = "2.0"
|
//! The `#[actix_rt::main]` macro in the example below is provided by the Actix runtime
|
||||||
//! actix-rt = "1.0"
|
//! 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
|
//! ```rust,no_run
|
||||||
//! use actix_web::{web, App, Responder, HttpServer};
|
//! use actix_web::{web, App, Responder, HttpServer};
|
||||||
|
|
Loading…
Reference in New Issue