mirror of
https://github.com/actix/examples
synced 2025-06-28 09:50:36 +02:00
Update template-engines/yarte to v4 (#502)
This commit is contained in:
@ -6,15 +6,12 @@ publish = false
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
actix-web = "3"
|
||||
env_logger = "0.8"
|
||||
actix-web = "4.0.0-beta.21"
|
||||
env_logger = "0.9.0"
|
||||
yarte = { version = "0.15", features = ["bytes-buf", "html-min"] }
|
||||
derive_more = "0.99"
|
||||
|
||||
[build-dependencies.yarte_helpers]
|
||||
version = "0.12"
|
||||
version = "0.15.6"
|
||||
default-features = false
|
||||
features = ["config"]
|
||||
|
||||
[dev-dependencies]
|
||||
actix-rt = "1"
|
||||
features = ["config"]
|
@ -41,7 +41,7 @@ mod test {
|
||||
|
||||
use super::*;
|
||||
|
||||
#[actix_rt::test]
|
||||
#[actix_web::test]
|
||||
async fn test() {
|
||||
let mut app = atest::init_service(App::new().service(index)).await;
|
||||
|
||||
|
Reference in New Issue
Block a user