[librsvg/cargo-c: 8/14] Cargo.toml - add cargo-c metadata
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/cargo-c: 8/14] Cargo.toml - add cargo-c metadata
- Date: Sat, 3 Jul 2021 00:52:55 +0000 (UTC)
commit 1c4c7ed2d1848788f3629e74bb22fbddfcad0674
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Feb 3 21:08:52 2021 -0600
Cargo.toml - add cargo-c metadata
Cargo.toml | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/Cargo.toml b/Cargo.toml
index e74794ef..36788e15 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -29,8 +29,26 @@ fontconfig = { version = "1.7" }
pangoft2 = { version = "1.44" }
[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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]