22 releases

new 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 2995/week @ 2019-11-07 2809/week @ 2019-11-14 2477/week @ 2019-11-21 2734/week @ 2019-11-28 2768/week @ 2019-12-05 3117/week @ 2019-12-12 2453/week @ 2019-12-19 2540/week @ 2019-12-26 2715/week @ 2020-01-02 3251/week @ 2020-01-09 2650/week @ 2020-01-16 3814/week @ 2020-01-23 3842/week @ 2020-01-30 3933/week @ 2020-02-06 4464/week @ 2020-02-13

13,005 downloads per month
Used in 116 crates (43 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