rust: Use LazyLock over lazy_static and update dependencies

LazyLock is a built-in std way to do lazy statics. Remove import of
lazy_static and use LazyLock instead since Fuchsia has deprecated import
of lazy_static.

Update other dependencies to versions that are used in Fuchsia.

Test: cargo test
Change-Id: Ib8ecbb54b8b60793469d33bdbf3f7f781e147160
Reviewed-on: https://bluetooth-review.googlesource.com/c/bluetooth/+/3040
7 files changed
tree: 51ffc93c0eee0ef4fbb9e3f76c6d05be02813775
  1. .agents/
  2. docs/
  3. infra/
  4. rust/
  5. .gitignore
  6. AUTHORS
  7. CONTRIBUTING.md
  8. GEMINI.md
  9. LICENSE
  10. OWNERS
  11. PATENTS
  12. presubmit.sh
  13. 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)