summaryrefslogtreecommitdiff
path: root/capi/README.md
blob: ea1ceb3105a2f535521cfe1da5205d2a50449650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
C interface for *resvg*.

## Build

```bash
# Build with a Qt backend
cargo build --release --features="qt-backend"
# or with a cairo backend
cargo build --release --features="cairo-backend"
# or with both.
cargo build --release --features="qt-backend cairo-backend"
```

See [doc/build.md](../doc/build.md) for details.

This will build a dynamic library. There is no point in building a static
library since it still will depend on Qt/cairo.