lazy-#rustlang: @rustlang @rust_analyzer
I want to parse a crate (libc) and get its published types/structs/functions etc, for codegen purposes, but not in a macro. Is using ra_ide/ra_db for this a good idea and if so are there examples doing so? Or if not, any better tools?
If only *parsing* is required (no type information), I'd go with `syn`, as it has convenient and stable API
-
-
I need all fields and types of all exports for this, really
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.