Update for Rust v1.62.0

See https://rust-lang.github.io/rust-clippy/master/index.html#format_push_string
Test: Ran test_compiler.py
Bug: 36723597

Change-Id: Ie7a7b85feb66ac1664fcdf0367505147d1ae10d1
1 file changed
tree: 625da57f493e18445fa023dc361a3cfac6a5f2bf
  1. common/
  2. derive/
  3. .gitignore
  4. Android.bp
  5. Cargo.toml
  6. NOTICE
  7. OWNERS
  8. README.md
  9. rustfmt.toml
README.md

KeyMint/Rust

This repo holds work in progress for a Rust implementation of Android's KeyMint HAL.

Repo Structure

The codebase is divided as follows. Only the crates in bold are expected to be used in Android; the remainder are conveniences to allow development outside of Android.

SubdirCrate Namestd?Description
derivekmr-deriveYes (build-only)Proc macros for deriving the AsCborValue trait
commonkmr-commonNoCommon code used throughout KeyMint/Rust
halkmr-halYesHAL service implementation
boringsslkmr-boringsslYesBoring/OpenSSL-based implementations of crypto traits
testskmr-testsTests and test infrastructure
takmr-taNoTA implementation
ta-mainkmr-taYesTA implementation using TCP