*: Install rust and cargo when running presubmit.sh

Update the rustfmt version to match downstream.
Format existing code with `cargo fmt` to pass presubmit.

Bug: b/439013538
Change-Id: Iabb97123b6929378e54c568bc37450d15fef73a1
Reviewed-on: https://bluetooth-review.googlesource.com/c/bluetooth/+/2781
Reviewed-by: Marie Janssen <jamuraa@google.com>
Commit-Queue: Dayeong Lee <dayeonglee@google.com>
9 files changed
tree: b5e25143c927712894ab1f54dba5db6a2959a6b5
  1. docs/
  2. infra/
  3. rust/
  4. .gitignore
  5. AUTHORS
  6. CONTRIBUTING.md
  7. LICENSE
  8. OWNERS
  9. PATENTS
  10. presubmit.sh
  11. README.md
README.md

Bluetooth Shared Libraries

What is this?

This is a repository for shared libraries and tools that can be useful for multiple Bluetooth stacks.

These tools and libraries are meant to be:

  • Stack-agnostic and platform-agnostic
  • Implement a useful subset of a published Bluetooth specification.

It has been started as a repository for developing Rust crates but can be easily expanded to include libraries and tools written in other languages.

What is this not?

It is not a full Bluetooth stack. Google has two officially open-source Bluetooth stacks:

Structure

  • rust - Rust Crates
  • docs - General documentation (documentation for each library/tool is included in their directories)