2017-03-02 16:22:44 -05:00
|
|
|
[package]
|
2017-04-12 11:42:43 -04:00
|
|
|
name = "cbindgen"
|
2023-05-30 18:48:56 +02:00
|
|
|
version = "0.24.6"
|
2020-12-21 00:24:24 +01:00
|
|
|
authors = [
|
|
|
|
"Emilio Cobos Álvarez <emilio@crisal.io>",
|
|
|
|
"Jeff Muizelaar <jmuizelaar@mozilla.com>",
|
|
|
|
"Kartikaya Gupta <kats@mozilla.com>",
|
|
|
|
"Ryan Hunt <rhunt@eqrion.net>"
|
|
|
|
]
|
2017-07-06 12:14:22 -04:00
|
|
|
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"]
|
2023-01-30 23:24:56 -08:00
|
|
|
repository = "https://github.com/eqrion/cbindgen"
|
2019-12-20 23:01:57 +01:00
|
|
|
edition = "2018"
|
2023-05-30 18:47:20 +02:00
|
|
|
rust-version = "1.57"
|
2020-12-26 18:06:42 +01:00
|
|
|
exclude = [
|
|
|
|
"tests/profile.rs", # Test relies in a sub-crate, see https://github.com/rust-lang/cargo/issues/9017
|
|
|
|
]
|
2017-03-02 16:22:44 -05:00
|
|
|
|
2017-04-12 16:37:13 -04:00
|
|
|
[dependencies]
|
2022-03-20 21:05:04 +08:00
|
|
|
clap = { version = "3.1", optional = true }
|
2020-10-03 19:40:39 +03:00
|
|
|
indexmap = "1"
|
2018-08-25 21:28:58 +01:00
|
|
|
log = "0.4"
|
2023-01-30 23:24:56 -08:00
|
|
|
serde = { version = "1.0.103", default-features = false, features = ["derive"] }
|
2017-11-27 14:39:49 +01:00
|
|
|
serde_json = "1.0"
|
2023-05-29 17:13:09 +02:00
|
|
|
tempfile = "3"
|
2019-05-21 23:56:16 +02:00
|
|
|
toml = "0.5"
|
2019-08-14 14:25:06 +02:00
|
|
|
proc-macro2 = "1"
|
|
|
|
quote = "1"
|
2022-03-20 21:01:45 +08:00
|
|
|
heck = "0.4"
|
2018-09-10 11:18:30 -07:00
|
|
|
|
2018-05-31 10:41:49 -05:00
|
|
|
[dependencies.syn]
|
2022-04-20 16:53:06 +09:00
|
|
|
version = "1.0.88"
|
2018-03-12 12:09:01 -05:00
|
|
|
default-features = false
|
2019-02-23 13:05:08 -08:00
|
|
|
features = ["clone-impls", "extra-traits", "full", "parsing", "printing"]
|
2017-04-17 20:22:14 -04:00
|
|
|
|
2020-10-22 13:34:48 -07:00
|
|
|
[dev-dependencies]
|
|
|
|
serial_test = "0.5.0"
|
|
|
|
|
2019-06-24 14:10:55 -04:00
|
|
|
[features]
|
|
|
|
default = ["clap"]
|
|
|
|
|
2017-04-17 20:22:14 -04:00
|
|
|
[[bin]]
|
|
|
|
name = "cbindgen"
|
|
|
|
path = "src/main.rs"
|
2017-09-29 07:22:32 +08:00
|
|
|
doc = false
|
2019-06-24 14:10:55 -04:00
|
|
|
required-features = ["clap"]
|
2017-04-17 20:22:14 -04:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "cbindgen"
|
|
|
|
path = "src/lib.rs"
|