cairo-rs 0.20.5

Rust bindings for the Cairo library
[dependencies.bitflags]
version = "2.6"

[dependencies.cairo-sys-rs]
version = "0.20"

[dependencies.freetype-rs]
optional = true
version = "0.37"

[dependencies.glib]
optional = true
version = "0.20.3"

[dependencies.libc]
version = "0.2"

[dev-dependencies.float_eq]
version = "1"

[dev-dependencies.tempfile]
version = "3.10"

[features]
default = ["use_glib"]
freetype = ["cairo-sys-rs/freetype", "freetype-rs"]
pdf = ["cairo-sys-rs/pdf"]
png = ["cairo-sys-rs/png"]
ps = ["cairo-sys-rs/ps"]
script = ["cairo-sys-rs/script"]
svg = ["cairo-sys-rs/svg"]
use_glib = ["glib", "cairo-sys-rs/use_glib"]
v1_16 = ["cairo-sys-rs/v1_16"]
v1_18 = ["v1_16", "cairo-sys-rs/v1_18"]
win32-surface = ["cairo-sys-rs/win32-surface"]
xcb = ["cairo-sys-rs/xcb"]
xlib = ["cairo-sys-rs/xlib"]

[lib]
name = "cairo"
path = "src/lib.rs"

[package]
authors = ["The gtk-rs Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Rust bindings for the Cairo library"
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/cairo/"
edition = "2021"
exclude = ["gir-files/*"]
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.70"
version = "0.20.5"

[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]