File: README.md

package info (click to toggle)
rust-pangocairo 0.20.7-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 144 kB
  • sloc: makefile: 63
file content (47 lines) | stat: -rw-r--r-- 1,384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Rust PangoCairo bindings

__Rust__ bindings and wrappers for [PangoCairo](https://docs.gtk.org/PangoCairo),
part of [gtk-rs-core](https://github.com/gtk-rs/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.70.0`.

## Documentation

 * [Rust API - Stable](https://gtk-rs.org/gtk-rs-core/stable/latest/docs/pangocairo/)
 * [Rust API - Development](https://gtk-rs.org/gtk-rs-core/git/docs/pangocairo)
 * [GTK Installation instructions](https://www.gtk.org/docs/installations/)

## Using

We recommend using [crates from crates.io](https://crates.io/keywords/gtk-rs),
as [demonstrated here](https://gtk-rs.org/#using).

If you want to track the bleeding edge, use the git dependency instead:

```toml
[dependencies]
pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pangocairo" }
```

Avoid mixing versioned and git crates like this:

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

### See Also

 * [cairo](https://crates.io/crates/cairo-rs)
 * [glib](https://crates.io/crates/glib)
 * [pango](https://crates.io/crates/pango)

## License

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