• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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]
13edition = "2018"
14rust-version = "1.60.0"
15name = "bindgen"
16version = "0.64.0"
17authors = [
18    "Jyun-Yan You <jyyou.tw@gmail.com>",
19    "Emilio Cobos Álvarez <emilio@crisal.io>",
20    "Nick Fitzgerald <fitzgen@gmail.com>",
21    "The Servo project developers",
22]
23build = "build.rs"
24description = "Automatically generates Rust FFI bindings to C and C++ libraries."
25homepage = "https://rust-lang.github.io/rust-bindgen/"
26documentation = "https://docs.rs/bindgen"
27readme = "../README.md"
28keywords = [
29    "bindings",
30    "ffi",
31    "code-generation",
32]
33categories = [
34    "external-ffi-bindings",
35    "development-tools::ffi",
36]
37license = "BSD-3-Clause"
38repository = "https://github.com/rust-lang/rust-bindgen"
39
40[lib]
41name = "bindgen"
42path = "./lib.rs"
43
44[dependencies.bitflags]
45version = "1.0.3"
46
47[dependencies.cexpr]
48version = "0.6"
49
50[dependencies.clang-sys]
51version = "1"
52features = ["clang_6_0"]
53
54[dependencies.lazy_static]
55version = "1"
56
57[dependencies.lazycell]
58version = "1"
59
60[dependencies.log]
61version = "0.4"
62optional = true
63
64[dependencies.peeking_take_while]
65version = "0.1.2"
66
67[dependencies.proc-macro2]
68version = "1"
69default-features = false
70
71[dependencies.quote]
72version = "1"
73default-features = false
74
75[dependencies.regex]
76version = "1.5"
77features = [
78    "std",
79    "unicode",
80]
81default-features = false
82
83[dependencies.rustc-hash]
84version = "1.0.1"
85
86[dependencies.shlex]
87version = "1"
88
89[dependencies.syn]
90version = "1.0.99"
91features = [
92    "full",
93    "extra-traits",
94    "visit-mut",
95]
96
97[dependencies.which]
98version = "4.2.1"
99optional = true
100default-features = false
101
102[features]
103cli = []
104default = [
105    "logging",
106    "runtime",
107    "which-rustfmt",
108]
109experimental = []
110logging = ["log"]
111runtime = ["clang-sys/runtime"]
112static = ["clang-sys/static"]
113testing_only_docs = []
114testing_only_extra_assertions = []
115testing_only_libclang_5 = []
116testing_only_libclang_9 = []
117which-rustfmt = ["which"]
118