diff options
author | Federico Mena Quintero <federico@gnome.org> | 2021-02-03 21:08:52 -0600 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-07-09 10:35:20 +0800 |
commit | 97a619ab9f7880ac413b8a97834d315aa36ab5aa (patch) | |
tree | 3661595056f21328622707d3cf1db5c8583b66fc | |
parent | 169ab91a2726ad5dd70b708cb423fac85a4bf307 (diff) | |
download | librsvg-97a619ab9f7880ac413b8a97834d315aa36ab5aa.tar.gz |
Cargo.toml - add cargo-c metadata
-rw-r--r-- | Cargo.toml | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -35,8 +35,26 @@ freetype2 = "20.0.14" libxml2 = { name = "libxml-2.0", version = "2.9" } [lib] +name = "rsvg" + +[features] +default = [] +capi = [] + +[package.metadata.capi.header] +# For now we have hand-written .h files, so disable generation of headers +enabled = false + +[package.metadata.capi.pkg_config] name = "librsvg" -crate-type = [ "staticlib", "rlib" ] +description = "library that renders svg files" +# version = "..." # defaults to the crate version +requires = "glib-2.0, gio-2.0, gdk-pixbuf-2.0, cairo" +# requires_private = "" + +[package.metadata.capi.library] +name = "rsvg" +# version = "..." [dependencies] # Keep these in sync with respect to the cairo-rs version: |