1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00

update readme

This commit is contained in:
Rob Ede 2022-07-11 02:15:47 +01:00
parent f39a64f526
commit ee71d4cfa7
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
```toml
[dependencies]
actix-web = "4"
actix-limitation = "0.1.4"
actix-limitation = "0.3"
```
```rust

View File

@ -3,7 +3,7 @@
//! ```toml
//! [dependencies]
//! actix-web = "4"
//! actix-limitation = "0.1.4"
#![doc = concat!("actix-limitation = \"", env!("CARGO_PKG_VERSION_MAJOR"), ".", env!("CARGO_PKG_VERSION_MINOR"),"\"")]
//! ```
//!
//! ```no_run
@ -34,7 +34,7 @@
//! .app_data(limiter.clone())
//! .service(index)
//! })
//! .bind("127.0.0.1:8080")?
//! .bind(("127.0.0.1", 8080))?
//! .run()
//! .await
//! }