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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# cargo-release configuration
# Install: cargo install cargo-release
#
# crates.io has a rate limit of 5 NEW crates at a time.
# For the first publish, use the batched approach below.
# After all crates exist on crates.io, you can use:
# cargo release patch --workspace --execute
#
# === First-time publish (batched, 5 crates per batch) ===
#
# Batch 1 (foundations):
# cargo publish -p vld-derive
# cargo publish -p vld
# cargo publish -p vld-http-common
# cargo publish -p vld-ts
# cargo publish -p vld-clap
#
# (wait ~1 min for crates.io index to update)
#
# Batch 2 (integrations):
# cargo publish -p vld-config
# cargo publish -p vld-diesel
# cargo publish -p vld-utoipa
# cargo publish -p vld-tower
# cargo publish -p vld-sea
#
# (wait ~1 min)
#
# Batch 3 (web frameworks):
# cargo publish -p vld-axum
# cargo publish -p vld-actix
# cargo publish -p vld-rocket
# cargo publish -p vld-poem
# cargo publish -p vld-warp
#
# === Subsequent releases ===
# cargo release patch --workspace --execute
# Sign commits/tags
= false
= false
# Push to remote after release
= true
= "origin"
# Create git tag
= true
= "v"
= "{{prefix}}{{version}}"
= true
= "Release {{crate_name}} v{{version}}"
# Commit message
= "chore: release v{{version}}"
# Pre-release checks
= true
# Publish to crates.io
= true
# Allow dirty working directory (set false for strict mode)
= ["master", "main"]
# Dependent version replacement — auto update `vld = { version = "X.Y.Z" }` everywhere
= "upgrade"