Debian Codegraph @

Cargo.toml.orig

raw
1 lints.workspace = true
2
3 [package]
4 authors = [
5 "Jyun-Yan You <[email protected]>",
6 "Emilio Cobos Álvarez <[email protected]>",
7 "Nick Fitzgerald <[email protected]>",
8 "The Servo project developers",
9 ]
10 description = "Automatically generates Rust FFI bindings to C and C++ libraries."
11 keywords = ["bindings", "ffi", "code-generation"]
12 categories = ["external-ffi-bindings", "development-tools::ffi"]
13 license = "BSD-3-Clause"
14 name = "bindgen"
15 readme = "../README.md"
16 repository = "https://github.com/rust-lang/rust-bindgen"
17 documentation = "https://docs.rs/bindgen"
18 homepage = "https://rust-lang.github.io/rust-bindgen/"
19 version = "0.72.1"
20 build = "build.rs"
21 rust-version.workspace = true
22 edition.workspace = true
23
24 [lib]
25 name = "bindgen"
26 path = "lib.rs"
27
28 [dependencies]
29 annotate-snippets = { workspace = true, optional = true }
30 bitflags.workspace = true
31 cexpr.workspace = true
32 clang-sys = { workspace = true, features = ["clang_11_0"] }
33 clap = { workspace = true, features = ["derive"], optional = true }
34 clap_complete = { workspace = true, optional = true }
35 itertools = { workspace = true }
36 log = { workspace = true, optional = true }
37 prettyplease = { workspace = true, optional = true, features = ["verbatim"] }
38 proc-macro2.workspace = true
39 quote.workspace = true
40 regex = { workspace = true, features = ["std", "unicode-perl"] }
41 rustc-hash.workspace = true
42 shlex.workspace = true
43 syn = { workspace = true, features = ["full", "extra-traits", "visit-mut"] }
44
45 [features]
46 default = ["logging", "prettyplease", "runtime"]
47 logging = ["dep:log"]
48 static = ["clang-sys/static"]
49 runtime = ["clang-sys/runtime"]
50 experimental = ["dep:annotate-snippets"]
51
52 ## The following features are for internal use and they shouldn't be used if
53 ## you're not hacking on bindgen
54 # Features used by `bindgen-cli`
55 __cli = ["dep:clap", "dep:clap_complete"]
56 # Features used for CI testing
57 __testing_only_extra_assertions = []
58 __testing_only_libclang_9 = []
59 __testing_only_libclang_16 = []
60
61 [package.metadata.docs.rs]
62 features = ["experimental"]
63
64 [package.metadata.release]
65 release = true
66 pre-release-hook = ["../node_modules/doctoc/doctoc.js", "../CHANGELOG.md"]
67
68 # Add version and date to changelog file
69 [[package.metadata.release.pre-release-replacements]]
70 file = "../CHANGELOG.md"
71 search = "# Unreleased"
72 replace = "# Unreleased\n## Added\n## Changed\n## Removed\n## Fixed\n## Security\n\n# {{version}} ({{date}})"