* Minor tweak at how [export.exclude] is handled to allow excluding generic instantiations in C mode. (#501) * Documented cpp_compat option. (#496) * Fixed a panic when parsing associated constants for a built-in type. (#494)
44 lines
1.0 KiB
TOML
44 lines
1.0 KiB
TOML
[package]
|
|
name = "cbindgen"
|
|
version = "0.14.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 }
|
|
log = "0.4"
|
|
serde = { version = "1.0", default-features = false, features = ["derive"]}
|
|
serde_json = "1.0"
|
|
tempfile = "3.0"
|
|
toml = "0.5"
|
|
proc-macro2 = "1"
|
|
quote = "1"
|
|
|
|
[dependencies.syn]
|
|
version = "1"
|
|
default-features = false
|
|
features = ["clone-impls", "extra-traits", "full", "parsing", "printing"]
|
|
|
|
[features]
|
|
default = ["clap"]
|
|
|
|
[[bin]]
|
|
name = "cbindgen"
|
|
path = "src/main.rs"
|
|
doc = false
|
|
required-features = ["clap"]
|
|
|
|
[lib]
|
|
name = "cbindgen"
|
|
path = "src/lib.rs"
|