@@ -25,31 +25,31 @@ name = "bindgen"
2525path = " lib.rs"
2626
2727[dependencies ]
28+ annotate-snippets = { version = " 0.9.1" , features = [" color" ], optional = true }
2829bitflags = " 2.2.1"
2930cexpr = " 0.6"
3031clang-sys = { version = " 1" , features = [" clang_6_0" ] }
31- lazycell = " 1"
3232lazy_static = " 1"
33+ lazycell = " 1"
34+ log = { version = " 0.4" , optional = true }
3335peeking_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 }
3836prettyplease = { 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"
4237proc-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 }
4444
4545[features ]
4646default = [" logging" , " prettyplease" , " runtime" , " which-rustfmt" ]
47- logging = [" log" ]
47+ logging = [" dep: log" ]
4848static = [" clang-sys/static" ]
4949runtime = [" clang-sys/runtime" ]
5050# 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" ]
5353
5454# # The following features are for internal use and they shouldn't be used if
5555# # you're not hacking on bindgen
0 commit comments