From 1ebdf9a8317b7d1dd6e66dc59b751eba2eec727c Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sun, 9 Jan 2022 00:12:15 +1100 Subject: [PATCH] Declare the tinyvec_string feature semver-excluded A dubious course of action, frankly, but I think a pragmatic one, especially since I released 1.0.0. --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index e30d192..85f4fc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,4 +27,9 @@ const-fn-trait-bound = [] tinyvec_string = { version = "0.3", features = ["rustc_1_55"] } [dependencies] +# I explicitly exclude this optional ~peer dependency tinyvec_string from the +# semver compatibility guarantee. Given the small and obvious API surface used, +# I hope subsequent tinyvec_string releases will be compatible, so that I can +# just widen the version specifier, but if not, I will consider it acceptable +# to break compatibility in a minor (1.x.0) release, until tinyvec_string 1. tinyvec_string = { version = "0.3", optional = true } -- 2.42.0