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
- Host: GitHub
- URL: https://github.com/kxtzownsu/libcros
- Owner: kxtzownsu
- License: gpl-3.0
- Created: 2026-04-01T00:47:54.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-05-21T15:08:34.000Z (2 months ago)
- Last Synced: 2026-05-21T21:54:49.476Z (2 months ago)
- Topics: chrome, chromeos, chromium, chromiumos, google, library, rust, rust-crate, tlcl, tpm, tpm2
- Language: Rust
- Homepage: https://crates.io/crates/libcros
- Size: 406 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
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)