Skip to main content

Crate shuttle_ifc

Crate shuttle_ifc 

Source

Structs§

InfraAttrParser

Functions§

find_runtime_main_fn
Parses rust source code and looks for a function annotated with #[shuttle_runtime::main].
main_fn_and_attr
Takes a function and return the function and the shuttle_runtime::main attribute
parse_infra_from_code
Takes rust source code and finds the #[shuttle_runtime::main]. Then, parses the attribute meta of that function and returns a map of string->string or null.