Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build!: update MSRV 1.53.0 #1

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions contrib/db_pools/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ keywords = ["rocket", "framework", "database", "pools"]
license = "MIT OR Apache-2.0"
edition = "2018"

[package.metadata]
# minimum supported rust version 1.53.0 because of
# error[E0391]: cycle detected when computing the supertraits of `database::Database`
msrv = "1.53.0"

[package.metadata.docs.rs]
all-features = true

Expand Down
4 changes: 4 additions & 0 deletions core/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ keywords = ["rocket", "web", "framework", "code", "generation"]
license = "MIT OR Apache-2.0"
edition = "2018"

[package.metadata]
# minimum supported rust version 1.51.0 because of cargo resolver in dependency crate time
msrv = "1.51.0"

[lib]
proc-macro = true

Expand Down
4 changes: 4 additions & 0 deletions core/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ license = "MIT OR Apache-2.0"
categories = ["web-programming"]
edition = "2018"

[package.metadata]
# minimum supported rust version 1.51.0 because of cargo resolver in dependency crate time
msrv = "1.51.0"

[features]
default = []
tls = ["rustls", "tokio-rustls"]
Expand Down
6 changes: 6 additions & 0 deletions core/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ build = "build.rs"
categories = ["web-programming::http-server"]
edition = "2018"

[package.metadata]
# minimum supported rust version 1.53.0 because of
# TlsConfig::with_ciphers() based on crate indexmap needs IntoIterator impls
# on arrays of any length from 1.53.0
msrv = "1.53.0"

[package.metadata.docs.rs]
all-features = true

Expand Down
2 changes: 1 addition & 1 deletion core/lib/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use yansi::{Paint, Color::{Red, Yellow}};

fn main() {
const MIN_VERSION: &str = "1.46.0";
const MIN_VERSION: &str = "1.53.0";

if let Some(version) = version_check::Version::read() {
if !version.at_least(MIN_VERSION) {
Expand Down