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

#32 in GUI

Download history 3027/week @ 2019-11-08 2594/week @ 2019-11-15 2655/week @ 2019-11-22 2638/week @ 2019-11-29 2984/week @ 2019-12-06 3025/week @ 2019-12-13 2319/week @ 2019-12-20 2667/week @ 2019-12-27 2596/week @ 2020-01-03 3404/week @ 2020-01-10 2578/week @ 2020-01-17 4265/week @ 2020-01-24 3620/week @ 2020-01-31 3909/week @ 2020-02-07 4320/week @ 2020-02-14

13,005 downloads per month
Used in 117 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