summaryrefslogtreecommitdiffstats
path: root/Cargo.toml.orig
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:39:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-18 05:39:07 +0000
commitaf6b8ed095f88f1df2116cdc7a9d44872cfa6074 (patch)
tree1f2df671c1f8033d5ed83f056167a0911f8d2a57 /Cargo.toml.orig
parentInitial commit. (diff)
downloadrust-cbindgen-af6b8ed095f88f1df2116cdc7a9d44872cfa6074.tar.xz
rust-cbindgen-af6b8ed095f88f1df2116cdc7a9d44872cfa6074.zip
Adding upstream version 0.26.0.upstream/0.26.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r--Cargo.toml.orig52
1 files changed, 52 insertions, 0 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
new file mode 100644
index 0000000..ca6ab30
--- /dev/null
+++ b/Cargo.toml.orig
@@ -0,0 +1,52 @@
+[package]
+name = "cbindgen"
+version = "0.26.0"
+authors = [
+ "Emilio Cobos Álvarez <emilio@crisal.io>",
+ "Jeff Muizelaar <jmuizelaar@mozilla.com>",
+ "Kartikaya Gupta <kats@mozilla.com>",
+ "Ryan Hunt <rhunt@eqrion.net>"
+]
+license = "MPL-2.0"
+description = "A tool for generating C bindings to Rust code."
+keywords = ["bindings", "ffi", "code-generation"]
+categories = ["external-ffi-bindings", "development-tools::ffi"]
+repository = "https://github.com/mozilla/cbindgen"
+edition = "2018"
+rust-version = "1.64"
+exclude = [
+ "tests/profile.rs", # Test relies in a sub-crate, see https://github.com/rust-lang/cargo/issues/9017
+]
+
+[dependencies]
+clap = { version = "3.1", optional = true }
+indexmap = "1"
+log = "0.4"
+serde = { version = "1.0.103", default-features = false, features = ["derive"] }
+serde_json = "1.0"
+tempfile = "3"
+toml = "0.5"
+proc-macro2 = "1.0.60"
+quote = "1"
+heck = "0.4"
+
+[dependencies.syn]
+version = "1.0.88"
+default-features = false
+features = ["clone-impls", "extra-traits", "fold", "full", "parsing", "printing"]
+
+[dev-dependencies]
+serial_test = "0.5.0"
+
+[features]
+default = ["clap"]
+
+[[bin]]
+name = "cbindgen"
+path = "src/main.rs"
+doc = false
+required-features = ["clap"]
+
+[lib]
+name = "cbindgen"
+path = "src/lib.rs"