An open API service indexing awesome lists of open source software.

https://github.com/kxtzownsu/libcros

A Rust library that provides easy-to-use functions for interacting with a Chrome device
https://github.com/kxtzownsu/libcros

chrome chromeos chromium chromiumos google library rust rust-crate tlcl tpm tpm2

Last synced: about 2 months ago
JSON representation

A Rust library that provides easy-to-use functions for interacting with a Chrome device

Awesome Lists containing this project

README

          

# 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](#Installation)

Then, look at some examples in [examples/](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](https://github.com/appleflyerv3) - intial Tlcl rust port. wouldn't have been able to start w/out them
- [Google](https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/e388d1f93c9573a79a04b633c3a0569ddbce6c94/firmware/lib/) - writing Tlcl.
- [zeglol](https://github.com/ZegLolTheThirtySixth) - writing the initial version of libargs in C. writing [AGENTS.md](/AGENTS.md)