From ecd5dc1034a21413b327eb14f3447ede9b3be4c8 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Tue, 21 Sep 2021 15:47:09 -0700 Subject: [PATCH] docs(contrib): add Minimum Support Rust Version (MSRV) policy --- .github/workflows/CI.yml | 2 +- dev/MSRV.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 dev/MSRV.md diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9ffd9f76..77bab168 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -52,7 +52,7 @@ jobs: - stable - beta - nightly - - 1.46 + - 1.46 # keep in sync with MSRV.md dev doc os: - ubuntu-latest diff --git a/dev/MSRV.md b/dev/MSRV.md new file mode 100644 index 00000000..8a7ba8ec --- /dev/null +++ b/dev/MSRV.md @@ -0,0 +1,9 @@ +# Minimum Support Rust Version (MSRV) + +hyper's current policy is to always support a Rust version at least 6 months +old. That is, a compiler version released within the last 6 months can compile +hyper. It is possible that an older compiler can work, but that is not +guaranteed. We try to increase the MSRV responsibly, only when a significant +new feature is needed. + +The current MSRV is: **1.46**.