Commit 9ce9695
chore: cargo fmt --all + add rustfmt CI gate
Trunk had accumulated rustfmt drift — CI never ran `cargo fmt --check` and
there is no rustfmt.toml, so pre-existing code had multi-line attributes,
unwrapped imports, and inconsistent call wrapping.
- Run `cargo fmt --all` across the workspace (src/params.rs, src/client.rs).
- Add a `rustfmt` job to build.yml (`cargo fmt --all --check`) so formatting
stays clean going forward.
Pure formatting — no behavioral change; all lib tests and doctests pass.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 3070059 commit 9ce9695
3 files changed
Lines changed: 145 additions & 89 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
15 | 32 | | |
16 | 33 | | |
17 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
1003 | 1001 | | |
1004 | 1002 | | |
1005 | 1003 | | |
1006 | 1004 | | |
1007 | 1005 | | |
1008 | 1006 | | |
1009 | 1007 | | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
1014 | | - | |
1015 | | - | |
1016 | | - | |
1017 | | - | |
1018 | | - | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
1023 | 1019 | | |
1024 | 1020 | | |
1025 | 1021 | | |
| |||
1034 | 1030 | | |
1035 | 1031 | | |
1036 | 1032 | | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
| 1033 | + | |
| 1034 | + | |
1041 | 1035 | | |
1042 | 1036 | | |
1043 | 1037 | | |
| |||
1078 | 1072 | | |
1079 | 1073 | | |
1080 | 1074 | | |
1081 | | - | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
1082 | 1079 | | |
1083 | 1080 | | |
1084 | 1081 | | |
| |||
0 commit comments