| 1 | # Rust PangoCairo bindings |
| 2 | |
| 3 | __Rust__ bindings and wrappers for [PangoCairo](https://docs.gtk.org/PangoCairo), |
| 4 | part of [gtk-rs-core](https://github.com/gtk-rs/gtk-rs-core). |
| 5 | |
| 6 | PangoCairo __1.40__ is the lowest supported version for the underlying library. |
| 7 | |
| 8 | ## Minimum supported Rust version |
| 9 | |
| 10 | Currently, the minimum supported Rust version is `1.83.0`. |
| 11 | |
| 12 | ## Documentation |
| 13 | |
| 14 | * [Rust API - Stable](https://gtk-rs.org/gtk-rs-core/stable/latest/docs/pangocairo/) |
| 15 | * [Rust API - Development](https://gtk-rs.org/gtk-rs-core/git/docs/pangocairo) |
| 16 | * [GTK Installation instructions](https://www.gtk.org/docs/installations/) |
| 17 | |
| 18 | ## Using |
| 19 | |
| 20 | We recommend using [crates from crates.io](https://crates.io/keywords/gtk-rs), |
| 21 | as [demonstrated here](https://gtk-rs.org/#using). |
| 22 | |
| 23 | If you want to track the bleeding edge, use the git dependency instead: |
| 24 | |
| 25 | ```toml |
| 26 | [dependencies] |
| 27 | pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pangocairo" } |
| 28 | ``` |
| 29 | |
| 30 | Avoid mixing versioned and git crates like this: |
| 31 | |
| 32 | ```toml |
| 33 | # This will not compile |
| 34 | [dependencies] |
| 35 | pangocairo = "0.13" |
| 36 | pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pangocairo" } |
| 37 | ``` |
| 38 | |
| 39 | ### See Also |
| 40 | |
| 41 | * [cairo](https://crates.io/crates/cairo-rs) |
| 42 | * [glib](https://crates.io/crates/glib) |
| 43 | * [pango](https://crates.io/crates/pango) |
| 44 | |
| 45 | ## License |
| 46 | |
| 47 | __pangocairo__ is available under the MIT License, please refer to it. |