1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 06:57:43 +02:00

update MSRV to 1.65 (#3059)

This commit is contained in:
Rob Ede
2023-07-02 01:09:15 +01:00
committed by GitHub
parent 1072d0dacf
commit 241da6e081
74 changed files with 202 additions and 166 deletions

View File

@ -2,6 +2,8 @@
## Unreleased - 2023-xx-xx
- Minimum supported Rust version (MSRV) is now 1.65 due to transitive `time` dependency.
## 3.1.1 - 2023-02-26
### Changed

View File

@ -13,7 +13,7 @@ categories = [
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-web.git"
license = "MIT OR Apache-2.0"
edition = "2018"
edition = "2021"
[lib]
name = "awc"
@ -83,8 +83,8 @@ tokio = { version = "1.24.2", features = ["sync"] }
cookie = { version = "0.16", features = ["percent-encode"], optional = true }
tls-openssl = { package = "openssl", version = "0.10.9", optional = true }
tls-rustls = { package = "rustls", version = "0.20.0", optional = true, features = ["dangerous_configuration"] }
tls-openssl = { package = "openssl", version = "0.10.55", optional = true }
tls-rustls = { package = "rustls", version = "0.20", optional = true, features = ["dangerous_configuration"] }
trust-dns-resolver = { version = "0.22", optional = true }
@ -98,12 +98,12 @@ actix-utils = "3"
actix-web = { version = "4", features = ["openssl"] }
brotli = "3.3.3"
const-str = "0.3"
env_logger = "0.9"
const-str = "0.5"
env_logger = "0.10"
flate2 = "1.0.13"
futures-util = { version = "0.3.17", default-features = false }
static_assertions = "1.1"
rcgen = "0.9"
rcgen = "0.11"
rustls-pemfile = "1"
tokio = { version = "1.24.2", features = ["rt-multi-thread", "macros"] }
zstd = "0.12"

View File

@ -12,7 +12,7 @@
- [API Documentation](https://docs.rs/awc)
- [Example Project](https://github.com/actix/examples/tree/master/https-tls/awc-https)
- Minimum Supported Rust Version (MSRV): 1.59
- Minimum Supported Rust Version (MSRV): 1.65
## Example

View File

@ -1,4 +1,4 @@
use std::{convert::TryFrom, fmt, net::IpAddr, rc::Rc, time::Duration};
use std::{fmt, net::IpAddr, rc::Rc, time::Duration};
use base64::prelude::*;

View File

@ -1,6 +1,6 @@
//! HTTP client.
use std::{convert::TryFrom, rc::Rc, time::Duration};
use std::{rc::Rc, time::Duration};
use actix_http::{error::HttpError, header::HeaderMap, Method, RequestHead, Uri};
use actix_rt::net::TcpStream;

View File

@ -1,5 +1,4 @@
use std::{
convert::TryFrom,
future::Future,
net::SocketAddr,
pin::Pin,

View File

@ -1,4 +1,4 @@
use std::{convert::TryFrom, fmt, net, rc::Rc, time::Duration};
use std::{fmt, net, rc::Rc, time::Duration};
use base64::prelude::*;
use bytes::Bytes;

View File

@ -26,7 +26,7 @@
//! }
//! ```
use std::{convert::TryFrom, fmt, net::SocketAddr, str};
use std::{fmt, net::SocketAddr, str};
use base64::prelude::*;