Skip to content

Commit

Permalink
Document CI enforced msrv in readme and rust-version fields (metrics-…
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Jul 6, 2022
1 parent 1372a09 commit f72e0c3
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ As well, there are also some community-maintained exporters and other integratio
* [`metrics-exporter-newrelic`][metrics-exporter-newrelic]: A `metrics`-compatible exporter for sending metrics to New Relic.
* [`opinionated_metrics`][opinionated-metrics]: Opinionated interface to emitting metrics for CLi/server applications, based on `metrics`.

## MSRV

Minimum Supported Rust version is **1.56.1**.
It is enforced in CI.

### policy for bumping MSRV

* The last 4 stable releases must always be supported
* Goal is to try and support older versions where possible (not opting in to newer versions just to use a new helper method on standard library types, etc)
* Do not bump the MSRV for newer versions of dependencies in core crates (metrics and metrics-util)

# contributing

To those of you who have already contributed to `metrics` in some way, shape, or form: **a big, and continued, "thank you!"** ❤️
Expand Down
1 change: 1 addition & 0 deletions metrics-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-benchmark"
version = "0.1.1-alpha.5"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"
publish = false

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions metrics-exporter-prometheus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-exporter-prometheus"
version = "0.10.0"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"

license = "MIT"

Expand Down
1 change: 1 addition & 0 deletions metrics-exporter-tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-exporter-tcp"
version = "0.6.0"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"

license = "MIT"

Expand Down
1 change: 1 addition & 0 deletions metrics-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-macros"
version = "0.5.1"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"

license = "MIT"

Expand Down
1 change: 1 addition & 0 deletions metrics-observer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-observer"
version = "0.1.1-alpha.2"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"
publish = false

license = "MIT"
Expand Down
1 change: 1 addition & 0 deletions metrics-tracing-context/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-tracing-context"
version = "0.11.0"
authors = ["MOZGIII <mike-n@narod.ru>"]
edition = "2018"
rust-version = "1.56.1"

license = "MIT"

Expand Down
1 change: 1 addition & 0 deletions metrics-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-util"
version = "0.13.0"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"

license = "MIT"

Expand Down
1 change: 1 addition & 0 deletions metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics"
version = "0.19.0"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"

license = "MIT"

Expand Down
1 change: 1 addition & 0 deletions tooling/metrics-histogram-fidelity/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "metrics-histogram-fidelity"
version = "0.1.0"
authors = ["Toby Lawrence <toby@nuclearfurnace.com>"]
edition = "2018"
rust-version = "1.56.1"

[workspace]

Expand Down

0 comments on commit f72e0c3

Please sign in to comment.