[roll] Roll fuchsia [rust] Format imports using rustfmt

Set `imports_granularity = "Module"` in our rustfmt config, and format
all files using `fx format-code --all -- "*.rs"`.

This change allows for a consistent style across our codebase, and
provides format-on-save functionality for imports. The "Module" option
has a good balance of verbosity vs resistance to merge conflicts.

See the linked bug for additional rationale on this option.

Original-Bug: 340943530
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1061833
Owners-Override: Benjamin Lerman <qsr@google.com>
Original-Revision: 4fcdaf5e61c518ac1bec7462f077f5e1ffd5ddab
GitOrigin-RevId: 9c43c96c89d5296447597bfa00cfa6e16112cddc
Change-Id: I398d477cdc65d9a7db61f86eec818fa63cde50e8
1 file changed
tree: b4bfbcc582f9ef0ac4e427634573b74174506b4b
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.