libcros
A Rust library that gives a high-level API for interacting with Chrome(OS) devices with ideally zero dependencies.
[!IMPORTANT] Some parts of the library may be locked behind
features, please refer to the documentation to see which features you need to enable to use some parts of the library.
Installation
cargo add libcros
Usage
First, you need to install the package to your project. See Installation
Then, look at some examples in examples/. There are examples on how to use the following features:
- Logging
- Tlcl (TPM1.2 & TPM2.0)
- Key=Value
- Cryptography
- Argument Parsing
- UI Rendering
Credits
- appleflyer - intial Tlcl rust port. wouldn't have been able to start w/out them
- Google - writing Tlcl.
- zeglol - writing the initial version of libargs in C. writing AGENTS.md