diff --git a/Cargo.toml b/Cargo.toml index 359501dc67..ea6da9aada 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,6 +34,7 @@ targets = [ [workspace.metadata.release] shared-version = true # ensures published packages share the same version tag-name = "v{{version}}" +release = false # The profile that 'cargo dist' will build with [profile.dist] diff --git a/bindgen-cli/Cargo.toml b/bindgen-cli/Cargo.toml index 5db34395d1..6126f4034f 100644 --- a/bindgen-cli/Cargo.toml +++ b/bindgen-cli/Cargo.toml @@ -41,3 +41,6 @@ which-rustfmt = ["bindgen/which-rustfmt"] __testing_only_extra_assertions = ["bindgen/__testing_only_extra_assertions"] __testing_only_libclang_9 = ["bindgen/__testing_only_libclang_9"] __testing_only_libclang_5 = ["bindgen/__testing_only_libclang_5"] + +[package.metadata.release] +release = true diff --git a/bindgen/Cargo.toml b/bindgen/Cargo.toml index 4c736e0d97..09a841ad47 100644 --- a/bindgen/Cargo.toml +++ b/bindgen/Cargo.toml @@ -62,3 +62,6 @@ __testing_only_libclang_5 = [] [package.metadata.docs.rs] features = ["experimental"] + +[package.metadata.release] +release = true