[librsvg/cargo-c] Cargo.toml - add cargo-c metadata




commit d7d909f492138a7a875982e40710f05c9005be12
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 84152e52..9aefb5d0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,8 +6,26 @@ build = "build.rs"
 edition = "2018"
 
 [lib]
+name = "rsvg"
+
+[features]
+default = []
+capi = []
+
+[package.metadata.capi.header]
+# For now we have hand-written .h files, so disable this
+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]
 bitflags = "1.0"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]