#cairo #gnome #gui #gtk-rs

cairo-rs

Rust bindings for the Cairo library

26 releases

0.14.1 Jul 8, 2021
0.9.1 Jul 10, 2020
0.8.1 Feb 16, 2020
0.8.0 Dec 14, 2019
0.0.4 Jul 18, 2015

#2 in Graphics APIs

Download history 6716/week @ 2021-04-07 5837/week @ 2021-04-14 5640/week @ 2021-04-21 6743/week @ 2021-04-28 6306/week @ 2021-05-05 5762/week @ 2021-05-12 5065/week @ 2021-05-19 5173/week @ 2021-05-26 4758/week @ 2021-06-02 4609/week @ 2021-06-09 4874/week @ 2021-06-16 7184/week @ 2021-06-23 7414/week @ 2021-06-30 7956/week @ 2021-07-07 7659/week @ 2021-07-14 7023/week @ 2021-07-21

24,933 downloads per month
Used in 228 crates (76 directly)

MIT license

590KB
15K SLoC

cairo

Rust bindings for Rust and wrappers for Cairo, part of gtk-rs-core.

screenshot

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.51.0.

Documentation

Using

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" }

See Also

License

cairo is available under the MIT License, please refer to it.

Dependencies

~1.3–3MB
~66K SLoC