..
Please also check to see if OSS-Fuzz dependencies need to be changed (see oss_fuzz.rst).
To compile librsvg, you need the following packages installed. The
minimum version is listed here; you may use a newer version instead.
**Compilers and build tools:**
* a C compiler
* `rust `_ 1.92.0 or later
* `cargo `_
* ``cargo-cbuild`` from `cargo-c `_
* `meson `_
* `vala `_ (optional)
**Mandatory dependencies:**
* `Cairo `_ 1.18.0 with PNG support
* `Freetype2 `_ 2.8.0
* `GLib `_ 2.50.0
* `Libxml2 `_ 2.9.0
* `Pango `_ 1.50.0
**Optional dependencies:**
* `GDK-Pixbuf `__ 2.20.0
* `GObject-Introspection `_ 0.10.8
* `gi-docgen `_
* `python3-docutils `_
* `dav1d `_ 1.3.0 (to support the AVIF image format)