cairo-vm is a Rust implementation of the Cairo VM. Cairo (CPU Algebraic Intermediate Representation) is a programming language for writing provable programs, where one party can prove to another that a certain computation was executed correctly without the need for this party to re-execute the same program.
We've discovered that using the cairo-vm crate in our projects brings in a lot of unnecessary dependencies and in the end leads to our binary being linked with the libbz2 library.
Turns out that neither of these is actually required and this happens because the zip crate has a large number of features enabled by default.
This change disables all zip features except deflate which the code actually uses.
We've discovered that using the
cairo-vm
crate in our projects brings in a lot of unnecessary dependencies and in the end leads to our binary being linked with thelibbz2
library.Turns out that neither of these is actually required and this happens because the
zip
crate has a large number of features enabled by default.This change disables all
zip
features exceptdeflate
which the code actually uses.