Is it a breaking change to re-export a breaking change? #1952
-
| When a crate re-exports another crate, and the re-exported crate version is bumped with a breaking change, is that considered a breaking change in the crate that re-exports it? It seems to me that this must be a breaking change unless: 
 The concrete recent case that motivates this is that  We have just done a major version bump of  
 On the other hand, one might argue that the specific contents of  If I am correct to think upgrading the re-exported  (This is the separate follow-up question to #1946.) | 
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
| This is a great catch! Yes, this should be a breaking change for  Failing to do so may mean breakage downstream upon release, and it's always a hassle to deal with the fallout (which probably would be small here as  | 
Beta Was this translation helpful? Give feedback.
Absolutely. In spite of a commit that would indicate breakage, one can always manually increment the crate's version number in the cargo manifest. This will also do the right thing when using CSR.