diff options
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 55 |
1 files changed, 35 insertions, 20 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig index 838524f..18f43c0 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -14,7 +14,7 @@ readme = "../README.md" repository = "https://github.com/rust-lang/rust-bindgen" documentation = "https://docs.rs/bindgen" homepage = "https://rust-lang.github.io/rust-bindgen/" -version = "0.65.1" +version = "0.69.1" edition = "2018" build = "build.rs" # If you change this, also update README.md and msrv in .github/workflows/bindgen.yml @@ -25,35 +25,50 @@ name = "bindgen" path = "lib.rs" [dependencies] -bitflags = "1.0.3" +annotate-snippets = { version = "0.9.1", features = ["color"], optional = true } +bitflags = "2.2.1" cexpr = "0.6" clang-sys = { version = "1", features = ["clang_6_0"] } -lazycell = "1" lazy_static = "1" +lazycell = "1" +log = { version = "0.4", optional = true } peeking_take_while = "0.1.2" +prettyplease = { version = "0.2.7", optional = true, features = ["verbatim"] } +proc-macro2 = { version = "1", default-features = false } quote = { version = "1", default-features = false } -syn = { version = "2.0", features = ["full", "extra-traits", "visit-mut"]} -regex = { version = "1.5", default-features = false , features = ["std", "unicode"] } -which = { version = "4.2.1", optional = true, default-features = false } -prettyplease = { version = "0.2.0" } -annotate-snippets = { version = "0.9.1", features = ["color"], optional = true } -shlex = "1" +regex = { version = "1.5", default-features = false, features = ["std", "unicode"] } rustc-hash = "1.0.1" -proc-macro2 = { version = "1", default-features = false } -log = { version = "0.4", optional = true } +shlex = "1" +syn = { version = "2.0", features = ["full", "extra-traits", "visit-mut"] } +which = { version = "4.2.1", optional = true, default-features = false } [features] -default = ["logging", "runtime", "which-rustfmt"] -logging = ["log"] +default = ["logging", "prettyplease", "runtime", "which-rustfmt"] +logging = ["dep:log"] static = ["clang-sys/static"] runtime = ["clang-sys/runtime"] # Dynamically discover a `rustfmt` binary using the `which` crate -which-rustfmt = ["which"] +which-rustfmt = ["dep:which"] +experimental = ["dep:annotate-snippets"] + +## The following features are for internal use and they shouldn't be used if +## you're not hacking on bindgen +# Features used by `bindgen-cli` __cli = [] -experimental = ["annotate-snippets"] +# Features used for CI testing +__testing_only_extra_assertions = [] +__testing_only_libclang_9 = [] +__testing_only_libclang_5 = [] + +[package.metadata.docs.rs] +features = ["experimental"] + +[package.metadata.release] +release = true +pre-release-hook = ["../node_modules/doctoc/doctoc.js", "../CHANGELOG.md"] -# These features only exist for CI testing -- don't use them if you're not hacking -# on bindgen! -testing_only_extra_assertions = [] -testing_only_libclang_9 = [] -testing_only_libclang_5 = [] +# Add version and date to changelog file +[[package.metadata.release.pre-release-replacements]] +file = "../CHANGELOG.md" +search = "# Unreleased" +replace = "# Unreleased\n## Added\n## Changed\n## Removed\n## Fixed\n## Security\n\n# {{version}} ({{date}})" |