Crates.io | cairo-rs |
lib.rs | cairo-rs |
version | 0.21.2 |
created_at | 2015-05-12 20:40:49.781555+00 |
updated_at | 2025-09-17 10:46:37.597955+00 |
description | Rust bindings for the Cairo library |
homepage | https://gtk-rs.org/ |
repository | https://github.com/gtk-rs/gtk-rs-core |
max_upload_size | |
id | 2093 |
size | 330,207 |
Rust bindings for Rust and wrappers for Cairo, part of gtk-rs-core.
Cairo 1.14 is the lowest supported version for the underlying library.
Currently, the minimum supported Rust version is 1.83.0
.
We recommend using crates from crates.io, as demonstrated here.
If you want to track the bleeding edge, use the git dependency instead:
[dependencies]
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "cairo-rs" }
Avoid mixing versioned and git crates like this:
# This will not compile
[dependencies]
cairo-rs = "0.13"
cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "cairo-rs" }
cairo is available under the MIT License, please refer to it.