ghac

Crates.ioghac
lib.rsghac
version0.2.0
created_at2025-02-17 07:53:11.860122+00
updated_at2025-02-17 13:15:23.834739+00
descriptionReplace with description
homepage
repositoryhttps://github.com/Xuanwo/ghac
max_upload_size
id1558698
size30,354
Xuanwo (Xuanwo)

documentation

https://docs.rs/ghac

README

ghac   Build Status Latest Version

ghac is a generated proto definitions for GitHub Actions Cache service V2.

Please note:

  • ghac is a private service, and its API may change at any time. If you encounter any issues, please report them.
  • This crate only provides a generated proto definitions. For a high-level API, please refer to opendal, which allows access to all storage using the same API.

Quick Start

use prost::Message;
use ghac::v1::CreateCacheEntryRequest;

fn test() -> Result<(), Box<dyn std::error::Error>> {
    let request = CreateCacheEntryRequest {
        metadata: None,
        key: "hello, world!".to_string(),
        version: "1".to_string(),
    };
    let bs = request.encode_to_vec();
    Ok(())
}

Contributing

Check out the CONTRIBUTING.md guide for more details on getting started with contributing to this project.

Getting help

Submit issues for bug report or asking questions in discussion.

License

Licensed under Apache License, Version 2.0.

Commit count: 5

cargo fmt