Skip to content

why the 2 in flate2? #377

Answered by oyvindln
dev-ardi asked this question in Q&A
Sep 27, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alexcrichton
Comment options

Answer selected by alexcrichton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants