11 breaking releases

new 0.14.0 Jan 12, 2025
0.13.0 Jan 7, 2025
0.11.0 Nov 29, 2024

#704 in Network programming

Download history 309/week @ 2024-09-22 76/week @ 2024-09-29 10/week @ 2024-10-06 11/week @ 2024-10-13 2/week @ 2024-10-20 124/week @ 2024-10-27 17/week @ 2024-11-03 25/week @ 2024-11-10 91/week @ 2024-11-17 469/week @ 2024-11-24 171/week @ 2024-12-01 149/week @ 2024-12-08 73/week @ 2024-12-15 138/week @ 2024-12-22 237/week @ 2024-12-29 842/week @ 2025-01-05

1,300 downloads per month

MIT license

10MB
161K SLoC

Bazel 135K SLoC // 0.1% comments Rust 19K SLoC // 0.0% comments Go 7K SLoC // 0.3% comments Shell 254 SLoC // 0.3% comments Forge Config 2 SLoC // 0.8% comments

Bazel Remote Apis for Rust

Usage

To use in your project, add into Cargo.toml:

[dependencies]
bazel-remote-apis = "0.14.0"

Feature serde adds implementation of serde::Serialize and serde::Deserialize traits for protobuf types.

Development

Protobuf files are vendored with git-vendor:

$ git vendor list
googleapis@master:
    name:   googleapis
    dir:    bzl-remote-apis/thirdparty/github.com/googleapis/googleapis
    repo:   https://github.com/googleapis/googleapis
    ref:    master
    commit: 351713de98ef863ad79e24e46a3d72c5f656d960

remote-apis@main:
    name:   remote-apis
    dir:    bzl-remote-apis/thirdparty/github.com/bazelbuild/remote-apis
    repo:   https://github.com/bazelbuild/remote-apis.git
    ref:    main
    commit: 080024152253a987d6bc4bcba4b20aa3484c1488

Build script is used to generate Rust source code from proto files into src/generated.

To update vendored dependencies and generate code run:

git vendor update googleapis
git vendor update bazel-remote-apis
cargo build --features codegen

Dependencies

~5–12MB
~126K SLoC