Skip to content

Commit 05bbe15

Browse files
committed
Explcitly document Minimum Supported Rust Version
Right now this is Rust 1.53 This commit doesn't change anything, it just documents what already exists. This was auto-detected by the `cargo msrv` command. Accepting #28 appears to have bumped this from 1.38 to 1.53
1 parent 4f0d200 commit 05bbe15

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ documentation = "https://docs.rs/slog-json"
1010
homepage = "https://github.com/slog-rs/slog"
1111
repository = "https://github.com/slog-rs/json"
1212
readme = "README.md"
13+
# This is our Minimum Supported Rust Version (MSRV)
14+
#
15+
# Please do not bump this unnecessarily.
16+
# Changing this should bump the minor version for semver (2.x for semver).
17+
#
18+
# The first version of Cargo that supports this field was in Rust 1.56.0.
19+
# In older releases, the field will be ignored, and Cargo will display a warning.
20+
rust-version = "1.53"
1321

1422
[features]
1523
nested-values = ["erased-serde", "slog/nested-values"]

0 commit comments

Comments
 (0)