From e15b8e911a754de40d09be3094312025b1cd84c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lena=20Hellstr=C3=B6m?= Date: Tue, 23 Feb 2021 11:47:56 -0800 Subject: [PATCH] clarify msrv support (#375) * clarify msrv support * pin byteorder to valid versions --- Cargo.toml | 2 +- README.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 89b8950..125d2aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ license = "MIT" description = "A binary serialization / deserialization strategy that uses Serde for transforming structs into bytes and vice versa!" [dependencies] -byteorder = "1.3.0" +byteorder = ">=1.3.0, < 1.4.0" serde = "1.0.63" [dev-dependencies] diff --git a/README.md b/README.md index d743843..2beed9b 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ ![CI](https://github.com/servo/bincode/workflows/CI/badge.svg) [![](https://meritbadge.herokuapp.com/bincode)](https://crates.io/crates/bincode) [![](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT) +[![](https://img.shields.io/badge/bincode-rustc_1.18+-lightgray.svg)](https://blog.rust-lang.org/2017/06/08/Rust-1.18.html) A compact encoder / decoder pair that uses a binary zero-fluff encoding scheme. The size of the encoded object will be the same or smaller than the size that @@ -105,3 +106,7 @@ issues, assuming that the deserialization code for the struct is safe itself. Bincode can be used for untrusted inputs in the sense that it will not create a security issues in your application, provided the configuration is changed to enable a maximum size limit. Malicious inputs will fail upon deserialization. + +### What is Bincode's MSRV (minimum supported Rust version)? + +Bincode 1.0 maintains support for rust 1.18.0. Any changes to this are considered a breaking change for semver purposes. \ No newline at end of file