34 releases (18 breaking)

Uses new Rust 2024

0.22.0-alpha.2 Jan 10, 2026
0.21.5 Dec 2, 2025
0.21.2 Sep 17, 2025
0.21.0 Jul 15, 2025
0.1.0 Mar 4, 2017

#1 in Rendering

Download history 16455/week @ 2025-09-29 31571/week @ 2025-10-06 15922/week @ 2025-10-13 17151/week @ 2025-10-20 12397/week @ 2025-10-27 7288/week @ 2025-11-03 6634/week @ 2025-11-10 8154/week @ 2025-11-17 8177/week @ 2025-11-24 9818/week @ 2025-12-01 8117/week @ 2025-12-08 7287/week @ 2025-12-15 6053/week @ 2025-12-22 4891/week @ 2025-12-29 6442/week @ 2026-01-05 7069/week @ 2026-01-12

25,250 downloads per month
Used in 84 crates (25 directly)

MIT license

2.5MB
58K SLoC

Rust PangoCairo bindings

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

PangoCairo 1.40 is the lowest supported version for the underlying library.

Minimum supported Rust version

Currently, the minimum supported Rust version is 1.83.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]
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pangocairo" }

Avoid mixing versioned and git crates like this:

# This will not compile
[dependencies]
pangocairo = "0.13"
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pangocairo" }

See Also

License

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

Dependencies

~4–7MB
~157K SLoC