| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2018" |
| 14 |
rust-version = "1.64" |
| 15 |
name = "cbindgen" |
| 16 |
version = "0.25.0" |
| 17 |
authors = [ |
| 18 |
"Emilio Cobos Álvarez <[email protected]>", |
| 19 |
"Jeff Muizelaar <[email protected]>", |
| 20 |
"Kartikaya Gupta <[email protected]>", |
| 21 |
"Ryan Hunt <[email protected]>", |
| 22 |
] |
| 23 |
exclude = ["tests/profile.rs"] |
| 24 |
description = "A tool for generating C bindings to Rust code." |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"bindings", |
| 28 |
"ffi", |
| 29 |
"code-generation", |
| 30 |
] |
| 31 |
categories = [ |
| 32 |
"external-ffi-bindings", |
| 33 |
"development-tools::ffi", |
| 34 |
] |
| 35 |
license = "MPL-2.0" |
| 36 |
repository = "https://github.com/eqrion/cbindgen" |
| 37 |
|
| 38 |
[lib] |
| 39 |
name = "cbindgen" |
| 40 |
path = "src/lib.rs" |
| 41 |
|
| 42 |
[[bin]] |
| 43 |
name = "cbindgen" |
| 44 |
path = "src/main.rs" |
| 45 |
doc = false |
| 46 |
required-features = ["clap"] |
| 47 |
|
| 48 |
[dependencies.clap] |
| 49 |
version = "3.1" |
| 50 |
optional = true |
| 51 |
|
| 52 |
[dependencies.heck] |
| 53 |
version = "0.4" |
| 54 |
|
| 55 |
[dependencies.indexmap] |
| 56 |
version = "1" |
| 57 |
|
| 58 |
[dependencies.log] |
| 59 |
version = "0.4" |
| 60 |
|
| 61 |
[dependencies.proc-macro2] |
| 62 |
version = "1.0.60" |
| 63 |
|
| 64 |
[dependencies.quote] |
| 65 |
version = "1" |
| 66 |
|
| 67 |
[dependencies.serde] |
| 68 |
version = "1.0.103" |
| 69 |
features = ["derive"] |
| 70 |
default-features = false |
| 71 |
|
| 72 |
[dependencies.serde_json] |
| 73 |
version = "1.0" |
| 74 |
|
| 75 |
[dependencies.syn] |
| 76 |
version = "1.0.88" |
| 77 |
features = [ |
| 78 |
"clone-impls", |
| 79 |
"extra-traits", |
| 80 |
"full", |
| 81 |
"parsing", |
| 82 |
"printing", |
| 83 |
] |
| 84 |
default-features = false |
| 85 |
|
| 86 |
[dependencies.tempfile] |
| 87 |
version = "3" |
| 88 |
|
| 89 |
[dependencies.toml] |
| 90 |
version = "0.5" |
| 91 |
|
| 92 |
[dev-dependencies.serial_test] |
| 93 |
version = "0.5.0" |
| 94 |
|
| 95 |
[features] |
| 96 |
default = ["clap"] |