11[package ]
22authors = [
3- " Jyun-Yan You <[email protected] >" ,
4- " Emilio Cobos Álvarez <[email protected] >" ,
5- " Nick Fitzgerald <[email protected] >" ,
6- " The Servo project developers" ,
3+ " Jyun-Yan You <[email protected] >" ,
4+ " Emilio Cobos Álvarez <[email protected] >" ,
5+ " Nick Fitzgerald <[email protected] >" ,
6+ " The Servo project developers" ,
77]
88description = " Automatically generates Rust FFI bindings to C and C++ libraries."
99keywords = [" bindings" , " ffi" , " code-generation" ]
@@ -15,29 +15,28 @@ repository = "https://github.com/rust-lang/rust-bindgen"
1515documentation = " https://docs.rs/bindgen"
1616homepage = " https://rust-lang.github.io/rust-bindgen/"
1717version = " 0.70.1"
18- edition = " 2021"
1918build = " build.rs"
20- # If you change this, also update README.md and msrv in .github/workflows/bindgen.yml
21- rust-version = " 1.70.0 "
19+ rust-version.workspace = true
20+ edition.workspace = true
2221
2322[lib ]
2423name = " bindgen"
2524path = " lib.rs"
2625
2726[dependencies ]
28- annotate-snippets = { version = " 0.11.4 " , optional = true }
29- bitflags = " 2.2.1 "
30- cexpr = " 0.6 "
31- clang-sys = { version = " 1 " , features = [" clang_11_0" ] }
32- clap = { version = " 4 " , features = [" derive" ], optional = true }
33- clap_complete = { version = " 4 " , optional = true }
34- itertools = { version = " >=0.10,<0.14 " , default-features = false }
35- log = { version = " 0.4 " , optional = true }
36- prettyplease = { version = " 0.2.7 " , optional = true , features = [" verbatim" ] }
27+ annotate-snippets = { workspace = true , optional = true }
28+ bitflags.workspace = true
29+ cexpr.workspace = true
30+ clang-sys = { workspace = true , features = [" clang_11_0" ] }
31+ clap = { workspace = true , features = [" derive" ], optional = true }
32+ clap_complete = { workspace = true , optional = true }
33+ itertools = { workspace = true }
34+ log = { workspace = true , optional = true }
35+ prettyplease = { workspace = true , optional = true , features = [" verbatim" ] }
3736proc-macro2.workspace = true
38- quote = { version = " 1 " , default-features = false }
39- regex = { version = " 1.5.3 " , default-features = false , features = [" std" , " unicode-perl" ] }
40- rustc-hash = " 1.0.1 "
37+ quote.workspace = true
38+ regex = { workspace = true , features = [" std" , " unicode-perl" ] }
39+ rustc-hash.workspace = true
4140shlex.workspace = true
4241syn = { workspace = true , features = [" full" , " extra-traits" , " visit-mut" ] }
4342
0 commit comments