2017-03-02 16:22:44 -05:00
|
|
|
[package]
|
2017-04-12 11:42:43 -04:00
|
|
|
name = "cbindgen"
|
2023-09-13 11:11:43 +02:00
|
|
|
version = "0.26.0"
|
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-09-07 14:50:34 -07:00
|
|
|
repository = "https://github.com/mozilla/cbindgen"
|
2019-12-20 23:01:57 +01:00
|
|
|
edition = "2018"
|
2023-12-27 12:13:56 +01:00
|
|
|
rust-version = "1.70"
|
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]
|
2023-12-27 12:13:56 +01:00
|
|
|
clap = { version = "~4.3", optional = true }
|
|
|
|
indexmap = "2.1.0"
|
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"
|
2023-12-27 12:13:56 +01:00
|
|
|
toml = "0.8.8"
|
2023-07-23 06:55:22 +09:00
|
|
|
proc-macro2 = "1.0.60"
|
2019-08-14 14:25:06 +02:00
|
|
|
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
|
2023-09-09 06:28:48 +09:00
|
|
|
features = ["clone-impls", "extra-traits", "fold", "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"
|