[dependencies.bitflags]
version = "1.0"
[dependencies.ffi]
package = "cairo-sys-rs"
version = "0.15.1"
[dependencies.freetype-crate]
optional = true
package = "freetype"
version = "0.7.0"
[dependencies.glib]
optional = true
version = "0.15.1"
[dependencies.libc]
version = "0.2"
[dependencies.thiserror]
version = "1.0.10"
[dev-dependencies.tempfile]
version = "3.0"
[features]
default = ["use_glib"]
dox = ["ffi/dox", "glib/dox", "freetype"]
freetype = ["ffi/freetype", "freetype-crate"]
pdf = ["ffi/pdf"]
png = ["ffi/png"]
ps = ["ffi/ps"]
script = ["ffi/script"]
svg = ["ffi/svg"]
use_glib = ["glib", "ffi/use_glib"]
v1_16 = ["ffi/v1_16"]
win32-surface = ["ffi/win32-surface"]
xcb = ["ffi/xcb"]
xlib = ["ffi/xlib"]
[lib]
name = "cairo"
[package]
authors = ["The gtk-rs Project Developers"]
description = "Rust bindings for the Cairo library"
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/cairo/"
edition = "2021"
homepage = "https://gtk-rs.org/"
keywords = ["cairo", "gtk-rs", "gnome", "GUI"]
license = "MIT"
name = "cairo-rs"
readme = "README.md"
repository = "https://github.com/gtk-rs/gtk-rs-core"
rust-version = "1.56"
version = "0.15.12"
[package.metadata.docs.rs]
features = ["dox"]