From: Chris Morgan Date: Sat, 8 Jan 2022 13:12:15 +0000 (+1100) Subject: Declare the tinyvec_string feature semver-excluded X-Git-Url: https://git.chrismorgan.info/sanitise-file-name/commitdiff_plain/HEAD 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. --- 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 }