File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,10 @@ crc32 = ["dep:crc32fast"]
63
63
zlib = [" dep:flate2" , " flate2?/rust_backend" , " dep:thiserror" ]
64
64
# # Use the C-based zlib-ng backend, which can compress and decompress significantly faster.
65
65
zlib-ng = [" zlib" , " flate2?/zlib-ng" ]
66
- # # Use the high-performance rust-based zlib backend en par with zlib-ng.
67
- # # Note that this will cause duplicate symbol errors if the application also depends on `zlib`, without remediation.
66
+ # # Use the high-performance rust-based zlib backend on par with zlib-ng.
67
+ # # As of zlib-rs 0.5.0 (used by flate2 1.1.1), this no longer exports C symbols
68
+ # # by default, so it doesn't conflict with any other zlib library that might be
69
+ # # loaded into the same address space.
68
70
zlib-rs = [" zlib" , " flate2?/zlib-rs" ]
69
71
# # Use zlib-ng via its zlib-compat API. Useful if you already need zlib for C
70
72
# # code elsewhere in your dependencies. Otherwise, use zlib-ng.
You can’t perform that action at this time.
0 commit comments