| [workspace] |
| members = [ |
| "bindgen", |
| "bindgen-cli", |
| "bindgen-integration", |
| "bindgen-tests", |
| "bindgen-tests/tests/quickchecking", |
| "bindgen-tests/tests/expectations", |
| ] |
| |
| default-members = [ |
| "bindgen", |
| "bindgen-cli", |
| "bindgen-tests", |
| ] |
| |
| # Config for 'cargo dist' |
| [workspace.metadata.dist] |
| # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) |
| cargo-dist-version = "0.2.0" |
| # CI backends to support (see 'cargo dist generate-ci') |
| ci = ["github"] |
| # The installers to generate for each app |
| installers = ["shell", "powershell"] |
| # Target platforms to build apps for (Rust target-triple syntax) |
| targets = [ |
| "x86_64-unknown-linux-gnu", |
| "x86_64-apple-darwin", |
| "x86_64-pc-windows-msvc", |
| "aarch64-apple-darwin", |
| ] |
| |
| # Config for 'cargo release' |
| [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] |
| inherits = "release" |
| lto = "thin" |