cbindgen/Cargo.toml
Jordan Rose 0ba241498e
Allow controlling the Cargo profile used for macro expansion
If there's already a release build, it's better for cbindgen to reuse
the build artifacts from that to expand macros rather than starting
from scratch with a debug build. Controlled with

  --profile (debug|release)

as well as parse.expand.profile in cbindgen.toml, though hardcoding a
profile in a config file seems unlikely.
2020-10-27 11:35:10 +01:00

49 lines
1.1 KiB
TOML

[package]
name = "cbindgen"
version = "0.15.0"
authors = ["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/eqrion/cbindgen/"
edition = "2018"
[badges]
travis-ci = { repository = "eqrion/cbindgen" }
[dependencies]
clap = { version = "2", optional = true }
indexmap = "1"
log = "0.4"
serde = { version = "1.0.103", default-features = false, features = ["derive"]}
serde_json = "1.0"
tempfile = "3.0"
toml = "0.5"
proc-macro2 = "1"
quote = "1"
heck = "0.3"
[dependencies.syn]
version = "1.0.3"
default-features = false
features = ["clone-impls", "extra-traits", "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"