From cc9203b610868d5de8daff7ac1051dce9038dfe8 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Thu, 18 Jan 2024 15:28:33 -0800 Subject: [PATCH] chore(deps): Document Vector's MSRV policy (#19646) * chore(deps): Document Vector's MSRV policy Signed-off-by: Jesse Szwedko * Update docs/DEVELOPING.md Co-authored-by: neuronull --------- Signed-off-by: Jesse Szwedko Co-authored-by: neuronull --- Cargo.toml | 1 + docs/DEVELOPING.md | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8df5441088fbb..91b2d21e63608 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,6 +11,7 @@ publish = false default-run = "vector" autobenches = false # our benchmarks are not runnable on their own either way # Minimum supported rust version +# See docs/DEVELOPING.md for policy rust-version = "1.71.1" [[bin]] diff --git a/docs/DEVELOPING.md b/docs/DEVELOPING.md index dca85c077b338..6dfe1aabb7fc9 100644 --- a/docs/DEVELOPING.md +++ b/docs/DEVELOPING.md @@ -11,6 +11,7 @@ - [Panics](#panics) - [Feature flags](#feature-flags) - [Dependencies](#dependencies) + - [Minimum Supported Rust Version](#minimum-supported-rust-version) - [Guidelines](#guidelines) - [Sink healthchecks](#sink-healthchecks) - [Testing](#testing) @@ -263,6 +264,14 @@ If a dependency is required only by one or multiple components, but not by Vector's core, make it optional and add it to the list of dependencies of the features corresponding to these components in `Cargo.toml`. +### Minimum Supported Rust Version + +Vector's Minimum Supported Rust Version (MSRV) is indicated by the `rust-version` specified in +`Cargo.toml`. + +Currently, Vector has no policy around MSRV. It can be bumped at any time if required by +a dependency or to take advantage of a new language feature in Vector's codebase. + ## Guidelines ### Sink healthchecks