-
This has bothered me from the start, what's the story behind that name? |
Beta Was this translation helpful? Give feedback.
Answered by
oyvindln
Sep 27, 2023
Replies: 1 comment 1 reply
-
There used to be a simple library that was a simple wrapper around the miniz C library in the main rust source code called "flate" which meant that was also a reserved library name. So, presumably @alexcrichton (or whoever else started it) decided to simply attach a 2 at the end for this to not conflict with it when flate2 was originally started. I believe the rust compiler switched to using flate2 from version 1.20. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alexcrichton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There used to be a simple library that was a simple wrapper around the miniz C library in the main rust source code called "flate" which meant that was also a reserved library name. So, presumably @alexcrichton (or whoever else started it) decided to simply attach a 2 at the end for this to not conflict with it when flate2 was originally started. I believe the rust compiler switched to using flate2 from version 1.20.