Usage: fidlgen_rust [flags]
Rust FIDL backend, used to generate Rust bindings from JSON IR input (the
intermediate representation of a FIDL library).
选项:
-common
if given, generate only the common (non-resource) data structures.
-fdomain
if given, generate FDomain bindings.
-include-drivers
whether to include driver transport protocols or not
-json string
relative path to the FIDL intermediate representation.
-output-filename string
the output path for the generated Rust implementation.
-rustfmt string
path to the rustfmt tool.
-rustfmt-config string
path to rustfmt.toml.
-use_common string
if given, depend on the given crate name for the common (non-resource) data structures.