Update to latest actix betas

This commit is contained in:
asonix 2021-03-09 19:58:42 -06:00
parent 778379c585
commit 5849e8ae5e
3 changed files with 6 additions and 7 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "actix-webfinger"
description = "Types and helpers to create and fetch Webfinger resources"
version = "0.4.0-beta.2"
version = "0.4.0-beta.3"
license = "GPL-3.0"
authors = ["asonix <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/Aardwolf/actix-webfinger"
@ -9,14 +9,13 @@ readme = "README.md"
edition = "2018"
[dependencies]
actix-rt = "2.0.2"
actix-rt = "2.1.0"
actix-web = { version = "4.0.0-beta.3", default-features = false }
awc = { version = "3.0.0-beta.3", default-features = false }
serde = "1.0"
serde_derive = "1.0"
thiserror = "1.0"
[dev-dependencies]
actix-rt = "2.0.2"
actix-web = { version = "4.0.0-beta.3", features = ["openssl"] }
pretty_env_logger = "0.4"
serde_json = "1.0"

View file

@ -1,5 +1,5 @@
use actix_web::client::Client;
use actix_webfinger::Webfinger;
use awc::Client;
use std::error::Error;
#[actix_rt::main]

View file

@ -22,8 +22,8 @@
//!
//! #### Client Example
//! ```rust,ignore
//! use actix_web::client::Client;
//! use actix_webfinger::Webfinger;
//! use awc::Client;
//! use std::error::Error;
//!
//! #[actix_rt::main]
@ -98,7 +98,6 @@
//!
//! You should have received a copy of the GNU General Public License along with Actix Webfinger. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).
use actix_web::{
client::Client,
dev::RequestHead,
error::ResponseError,
guard::Guard,
@ -106,6 +105,7 @@ use actix_web::{
web::{get, Query},
FromRequest, HttpResponse, Resource,
};
use awc::Client;
use serde_derive::{Deserialize, Serialize};
use std::{future::Future, pin::Pin};