#juniper #grpc-api #jet #junos

juniper-jet

Rust client for the Juniper JET gRPC API

1 unstable release

0.1.0-alpha.1 May 21, 2023

#4 in #jet

MIT license

1.5MB
163 lines

Crates.io ci/cd codecov docs.rs

juniper-jet-rs

Rust client bindings for the Juniper JET gRPC API.


lib.rs:

Client bindings for the Juniper JET gRPC API.

Building

The gRPC service bindings are generated by tonic-build at build-time.

The protoc command line tool (included in the protobuf package on most Linux distributions) must be available at compile time.

Features

The JET gRPC service definitions vary be Junos version.

Support for each major.minor Junos version is enabled by a corresponding junos-{major}-{minor} cargo feature.

Only the latest supported Junos version is enabled by default, via the latest cargo feature.

Multiple versions can be enabled simultaneously, but will impact compile times.

Dependencies

~5–9MB
~147K SLoC