port recast to rust 🦀 (#178)

* port recast to rust with massaged serialisation

* remove logs

* fix the last of white space test failures

* remove ts recastor

* clean up imports

* use serde serialise features

* unneeded async

* final clean up recast.ts

* more clean up tweaks

* improve Rust BinaryPart types

* Comments, fix warnings

* Run clippy --fix

* Remove unused variable

* serialise none_code_nodes manual to force strings to numbers

---------

Co-authored-by: Adam Chalmers <adam.s.chalmers@gmail.com>
This commit is contained in:
Kurt Hutten
2023-07-20 12:38:05 +10:00
committed by GitHub
parent 11cc85a9e8
commit 5d90c0488f
13 changed files with 1022 additions and 547 deletions

View File

@ -108,7 +108,7 @@ describe('Testing addSketchTo', () => {
body: [],
start: 0,
end: 0,
nonCodeMeta: {},
nonCodeMeta: { noneCodeNodes: {} },
},
'yz'
)