forked from mozilla/cbindgen
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
54 lines (47 loc) · 1.24 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[package]
name = "cbindgen"
version = "0.24.3"
authors = [
"Emilio Cobos Álvarez <emilio@crisal.io>",
"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"
exclude = [
"tests/profile.rs", # Test relies in a sub-crate, see https://github.com/rust-lang/cargo/issues/9017
]
[badges]
travis-ci = { repository = "eqrion/cbindgen" }
[dependencies]
clap = { version = "3.1", 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.4"
[dependencies.syn]
version = "1.0.88"
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"