22
33This document covers what you need before opening a pull request.
44
5- [ x402 ] : https://www.x402.org
6-
75## Code of Conduct
86
97Be kind, technical, and concise. No harassment, no surprises, no
@@ -41,9 +39,7 @@ CI clippy is **stable** `-D warnings` via `qntx/workflows`
4139### Quality Gates (run before pushing)
4240
4341``` bash
44- just layout
4542just all
46- just test
4743```
4844
4945CI-equivalent cargo invocations:
@@ -70,6 +66,32 @@ cargo audit
7066cargo deny check all
7167```
7268
69+ ## TOML style
70+
71+ Match kobe’s grouped ` = ` alignment. Inside one table, a contiguous run of
72+ ` key = value ` lines (no blank line) is a group; pad keys so every ` = ` in
73+ that group shares a column. One space on each side of ` = ` . Keep the
74+ file’s existing trailing-comma style. Do not reorder keys to make
75+ padding easier. There is no taplo/dprint gate; rustfmt remains the only
76+ format check.
77+
78+ ## Versioning and publish
79+
80+ Crate version is ` [workspace.package].version ` . The git tag is ` v ` plus
81+ that string.
82+
83+ Path workspace deps use the ** minor** (` version = "0.19" ` , i.e. ` ^0.19 ` )
84+ so ` cargo publish ` can rewrite them to crates.io. ** Patch** bumps
85+ (` 0.19.1 ` → ` 0.19.2 ` ) leave path ` version = "0.19" ` . ** Minor / major**
86+ (` 0.19 ` → ` 0.20 ` or ` 1.0 ` ) update that field in the ** same PR** as
87+ ` workspace.package.version ` .
88+
89+ ` publish.yml ` Test is ` cargo test --workspace ` with ** default features** ,
90+ not ` --all-features ` . Before tagging, also run that command (CI ` just test `
91+ uses ` --all-features ` ). Path deps without a version still fail
92+ ` cargo package ` ; after SIWX is crates.io ` 0.5 ` , package every crate in
93+ ` publish.yml ` .
94+
7395## Pull Request Workflow
7496
75971 . ** Open an issue** if your change is non-trivial. Architecture-level
0 commit comments