[package]
edition = "2021"
rust-version = "1.74"
name = "cbindgen"
version = "0.29.3"
authors = [
"Emilio Cobos Álvarez <emilio@crisal.io>",
"Jeff Muizelaar <jmuizelaar@mozilla.com>",
"Kartikaya Gupta <kats@mozilla.com>",
"Ryan Hunt <rhunt@eqrion.net>",
]
build = "build.rs"
exclude = ["tests/profile.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tool for generating C bindings to Rust code."
readme = "README.md"
keywords = [
"bindings",
"ffi",
"code-generation",
]
categories = [
"external-ffi-bindings",
"development-tools::ffi",
]
license = "MPL-2.0"
repository = "https://github.com/mozilla/cbindgen"
[features]
default = ["clap"]
unstable_ir = []
[lib]
name = "cbindgen"
path = "src/lib.rs"
[[bin]]
name = "cbindgen"
path = "src/main.rs"
doc = false
required-features = ["clap"]
[[test]]
name = "depfile"
path = "tests/depfile.rs"
[[test]]
name = "tests"
path = "tests/tests.rs"
[dependencies.clap]
version = "4.3"
optional = true
[dependencies.heck]
version = "0.5"
[dependencies.indexmap]
version = "2.1.0"
[dependencies.log]
version = "0.4"
[dependencies.proc-macro2]
version = "1.0.60"
[dependencies.quote]
version = "1"
[dependencies.serde]
version = "1.0.103"
features = [
"derive",
"std",
]
default-features = false
[dependencies.serde_json]
version = "1.0"
[dependencies.syn]
version = "2.0.85"
features = [
"clone-impls",
"extra-traits",
"fold",
"full",
"parsing",
"printing",
]
default-features = false
[dependencies.tempfile]
version = "3"
[dependencies.toml]
version = "0.9"
features = [
"parse",
"serde",
"std",
]
default-features = false
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.serial_test]
version = "2.0.0"
default-features = false