22 releases

0.8.1 Feb 16, 2020
0.8.0 Dec 14, 2019
0.7.1 Jul 4, 2019
0.6.0 Feb 21, 2019
0.0.4 Jul 18, 2015

#34 in GUI

Download history 2740/week @ 2019-12-17 2337/week @ 2019-12-24 2577/week @ 2019-12-31 3231/week @ 2020-01-07 2869/week @ 2020-01-14 3056/week @ 2020-01-21 4202/week @ 2020-01-28 3887/week @ 2020-02-04 4593/week @ 2020-02-11 4011/week @ 2020-02-18 3712/week @ 2020-02-25 4202/week @ 2020-03-03 5724/week @ 2020-03-10 6443/week @ 2020-03-17 6801/week @ 2020-03-24 3508/week @ 2020-03-31

13,005 downloads per month
Used in 124 crates (44 directly)

MIT and maybe LGPL-2.0

315KB
8K SLoC

cairo Build Status Build status Gitter

Cairo bindings for Rust.

screenshot

License

MIT


lib.rs:

Cairo bindings

This library contains safe Rust bindings for Cairo. It is a part of Gtk-rs.

Crate features

Default-on features

  • use_glib - Use with glib

Fileformat features

  • png - Reading and writing PNG images
  • pdf - Rendering PDF documents
  • svg - Rendering SVG documents
  • ps - Rendering PostScript documents

Cairo API version features

  • v1_14 - Use Cairo 1.14 APIs
  • v1_16 - Use Cairo 1.16 APIs

Documentation features

  • embed-lgpl-docs - Embed API docs locally
  • purge-lgpl-docs - Remove API docs again (counterpart to embed-lgpl-docs)
  • dox - Used to keep system dependent items in documentation

X Window features

  • xcb - X Window System rendering using the XCB library
  • xlib - X Window System rendering using XLib

Windows API features

  • win32-surface - Microsoft Windows surface support

Dependencies

~18–560KB
~11K SLoC