Skip to content

Commit 8cf8a4c

Browse files
committed
Enforce minimum supported Rust version
This instructs Cargo to immediately fail compilation if the version of Rust is too old [1]. Hopefully, this will save someone some headache. [1]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field
1 parent 7d22445 commit 8cf8a4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "smoltcp"
33
version = "0.8.0"
44
edition = "2018"
5+
rust-version = "1.60"
56
authors = ["whitequark <whitequark@whitequark.org>"]
67
description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
78
documentation = "https://docs.rs/smoltcp/"

0 commit comments

Comments
 (0)