Convert your mssql create table Statements to Rust structs.
How do i use it you ask?
I don't know - but i can tell you how I use it:
In azure data studio:
-
rightclick on any table and select "Script as Create"
-
select the relevant part ("Create Table.. until the last field)
-
paste the selection into any editor that supports stdin/stdout operations (of course (n)vim or helix)
-
select the lines and type
-
:!sql2rust
-
experience a wide range of bugs and create an issue here
