forked from rust-lang/rust-bindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (46 loc) · 1.37 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[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",
]
# Don't compile any crate while building artifacts unless the crate's manifest has `dist = true`
dist = false
# Config for 'cargo release'
[workspace.metadata.release]
shared-version = true # ensures published packages share the same version
tag-name = "v{{version}}"
# Don't release any crate unless its manifest has `release = true`
release = false
# Add version and date to changelog file
[[workspace.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "# Unreleased"
replace = "# {{version}} ({{date}})"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"