| 1 |
[package] |
| 2 |
name = "cbindgen" |
| 3 |
version = "0.25.0" |
| 4 |
authors = [ |
| 5 |
"Emilio Cobos Álvarez <[email protected]>", |
| 6 |
"Jeff Muizelaar <[email protected]>", |
| 7 |
"Kartikaya Gupta <[email protected]>", |
| 8 |
"Ryan Hunt <[email protected]>" |
| 9 |
] |
| 10 |
license = "MPL-2.0" |
| 11 |
description = "A tool for generating C bindings to Rust code." |
| 12 |
keywords = ["bindings", "ffi", "code-generation"] |
| 13 |
categories = ["external-ffi-bindings", "development-tools::ffi"] |
| 14 |
repository = "https://github.com/eqrion/cbindgen" |
| 15 |
edition = "2018" |
| 16 |
rust-version = "1.64" |
| 17 |
exclude = [ |
| 18 |
"tests/profile.rs", # Test relies in a sub-crate, see https://github.com/rust-lang/cargo/issues/9017 |
| 19 |
] |
| 20 |
|
| 21 |
[dependencies] |
| 22 |
clap = { version = "3.1", optional = true } |
| 23 |
indexmap = "1" |
| 24 |
log = "0.4" |
| 25 |
serde = { version = "1.0.103", default-features = false, features = ["derive"] } |
| 26 |
serde_json = "1.0" |
| 27 |
tempfile = "3" |
| 28 |
toml = "0.5" |
| 29 |
proc-macro2 = "1.0.60" |
| 30 |
quote = "1" |
| 31 |
heck = "0.4" |
| 32 |
|
| 33 |
[dependencies.syn] |
| 34 |
version = "1.0.88" |
| 35 |
default-features = false |
| 36 |
features = ["clone-impls", "extra-traits", "full", "parsing", "printing"] |
| 37 |
|
| 38 |
[dev-dependencies] |
| 39 |
serial_test = "0.5.0" |
| 40 |
|
| 41 |
[features] |
| 42 |
default = ["clap"] |
| 43 |
|
| 44 |
[[bin]] |
| 45 |
name = "cbindgen" |
| 46 |
path = "src/main.rs" |
| 47 |
doc = false |
| 48 |
required-features = ["clap"] |
| 49 |
|
| 50 |
[lib] |
| 51 |
name = "cbindgen" |
| 52 |
path = "src/lib.rs" |