[package]
name = "cairo-rs"
license = "MIT"
homepage = "http://gtk-rs.org/"
authors = ["The Gtk-rs Project Developers"]
keywords = ["cairo", "gtk-rs", "gnome", "GUI"]
readme = "README.md"
documentation = "http://gtk-rs.org/docs/cairo/"
version = "0.8.1"
description = "Rust bindings for the Cairo library"
repository = "https://github.com/gtk-rs/cairo"
build = "build.rs"
[badges]
appveyor = { repository = "GuillaumeGomez/cairo", service = "github" }
travis-ci = { repository = "gtk-rs/cairo" }
[lib]
name = "cairo"
[features]
purge-lgpl-docs = ["gtk-rs-lgpl-docs"]
png = ["cairo-sys-rs/png"]
pdf = ["cairo-sys-rs/pdf"]
svg = ["cairo-sys-rs/svg"]
ps = ["cairo-sys-rs/ps"]
use_glib = ["glib", "glib-sys", "gobject-sys", "cairo-sys-rs/use_glib"]
embed-lgpl-docs = ["gtk-rs-lgpl-docs"]
v1_14 = ["cairo-sys-rs/v1_14"]
v1_16 = ["v1_14", "cairo-sys-rs/v1_16"]
default = ["use_glib"]
xcb = ["cairo-sys-rs/xcb"]
xlib = ["cairo-sys-rs/xlib"]
dox = ["cairo-sys-rs/dox", "glib/dox"]
win32-surface = ["cairo-sys-rs/win32-surface"]
[package.metadata.docs.rs]
features = ["dox", "embed-lgpl-docs"]
[build-dependencies.gtk-rs-lgpl-docs]
version = "0.1.8"
optional = true
[dependencies.glib]
version = "0.9.0"
optional = true
[dependencies.glib-sys]
version = "0.9.1"
optional = true
[dependencies.gobject-sys]
version = "0.9.1"
optional = true
[dependencies]
cairo-sys-rs = "0.9.1"
libc = "0.2"
bitflags = "1.0"
[dev-dependencies]
tempfile = "3.0"