mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 10:27:42 +02:00
Use re-exported bytes
items from instead of using them directly (#139)
This commit is contained in:
@ -22,7 +22,6 @@ cookie-session = ["actix-web/secure-cookies"]
|
||||
[dependencies]
|
||||
actix-web = { version = "3.0.0", default_features = false }
|
||||
actix-service = "1.0.6"
|
||||
bytes = "0.5.3"
|
||||
derive_more = "0.99.2"
|
||||
futures-util = { version = "0.3.4", default-features = false }
|
||||
serde = "1.0"
|
||||
|
@ -397,8 +397,8 @@ where
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use actix_web::web::Bytes;
|
||||
use actix_web::{test, web, App};
|
||||
use bytes::Bytes;
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn cookie_session() {
|
||||
|
Reference in New Issue
Block a user