@@ -25,31 +25,31 @@ name = "bindgen"
25
25
path = " lib.rs"
26
26
27
27
[dependencies ]
28
+ annotate-snippets = { version = " 0.9.1" , features = [" color" ], optional = true }
28
29
bitflags = " 2.2.1"
29
30
cexpr = " 0.6"
30
31
clang-sys = { version = " 1" , features = [" clang_6_0" ] }
31
- lazycell = " 1"
32
32
lazy_static = " 1"
33
+ lazycell = " 1"
34
+ log = { version = " 0.4" , optional = true }
33
35
peeking_take_while = " 0.1.2"
34
- quote = { version = " 1" , default-features = false }
35
- syn = { version = " 2.0" , features = [" full" , " extra-traits" , " visit-mut" ]}
36
- regex = { version = " 1.5" , default-features = false , features = [" std" , " unicode" ] }
37
- which = { version = " 4.2.1" , optional = true , default-features = false }
38
36
prettyplease = { version = " 0.2.0" , optional = true }
39
- annotate-snippets = { version = " 0.9.1" , features = [" color" ], optional = true }
40
- shlex = " 1"
41
- rustc-hash = " 1.0.1"
42
37
proc-macro2 = { version = " 1" , default-features = false }
43
- log = { version = " 0.4" , optional = true }
38
+ quote = { version = " 1" , default-features = false }
39
+ regex = { version = " 1.5" , default-features = false , features = [" std" , " unicode" ] }
40
+ rustc-hash = " 1.0.1"
41
+ shlex = " 1"
42
+ syn = { version = " 2.0" , features = [" full" , " extra-traits" , " visit-mut" ] }
43
+ which = { version = " 4.2.1" , optional = true , default-features = false }
44
44
45
45
[features ]
46
46
default = [" logging" , " prettyplease" , " runtime" , " which-rustfmt" ]
47
- logging = [" log" ]
47
+ logging = [" dep: log" ]
48
48
static = [" clang-sys/static" ]
49
49
runtime = [" clang-sys/runtime" ]
50
50
# Dynamically discover a `rustfmt` binary using the `which` crate
51
- which-rustfmt = [" which" ]
52
- experimental = [" annotate-snippets" ]
51
+ which-rustfmt = [" dep: which" ]
52
+ experimental = [" dep: annotate-snippets" ]
53
53
54
54
# # The following features are for internal use and they shouldn't be used if
55
55
# # you're not hacking on bindgen
0 commit comments