Explorar o código

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
Alex Crawford %!s(int64=2) %!d(string=hai) anos
pai
achega
8cf8a4c967
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Cargo.toml

+ 1 - 0
Cargo.toml

@@ -2,6 +2,7 @@
 name = "smoltcp"
 version = "0.8.0"
 edition = "2018"
+rust-version = "1.60"
 authors = ["whitequark <whitequark@whitequark.org>"]
 description = "A TCP/IP stack designed for bare-metal, real-time systems without a heap."
 documentation = "https://docs.rs/smoltcp/"