Commit 1c235f1
authored
deps: upgrade rowan 0.16 → 0.17 (#1451)
## Summary
Closes #1448.
Upgrade `rowan` from 0.16.1 to **0.17.0** in `assura-parser` and
`assura-fmt`.
### Breaking changes in 0.17 (from upstream)
Rowan 0.17 removed mutable syntax edit APIs (`SyntaxNodeMut` / in-place
tree mutation). Assura only:
- builds green trees via `GreenNodeBuilder` + events
- wraps them with `SyntaxNode::new_root`
- walks immutable `SyntaxNode` / `NodeOrToken` for lowering and
formatting
No call-site code changes were required; compile and tests are green
as-is.
### Docs
AGENTS.md and `docs/INTERNALS.md` version notes updated for 0.17 and the
immutable-only API.
## Test plan
- [x] `cargo check -p assura-parser -p assura-fmt --locked`
- [x] `cargo test -p assura-parser --locked` (lib + integration,
including demos/fixtures snapshots)
- [x] `cargo test -p assura-fmt --locked`
- [x] `cargo test -p assura-types --locked --lib`
- [x] `cargo clippy -p assura-parser -p assura-fmt --locked -- -D
warnings`
- [x] `assura check` demos: libwebp-huffman, heartbleed, showcase-echo
- [ ] CI green
---------
Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>1 parent 290eb14 commit 1c235f1
6 files changed
Lines changed: 37 additions & 29 deletions
File tree
- crates
- assura-fmt
- src
- assura-parser
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
546 | 554 | | |
547 | 555 | | |
548 | 556 | | |
| |||
665 | 673 | | |
666 | 674 | | |
667 | 675 | | |
668 | | - | |
| 676 | + | |
669 | 677 | | |
670 | 678 | | |
671 | 679 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 132 | + | |
138 | 133 | | |
139 | 134 | | |
140 | 135 | | |
| |||
143 | 138 | | |
144 | 139 | | |
145 | 140 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
153 | 145 | | |
154 | 146 | | |
155 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
562 | | - | |
| 562 | + | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| |||
0 commit comments