15 breaking releases

0.16.0 Oct 6, 2023
0.15.0 Mar 15, 2023
0.14.1 Sep 12, 2022
0.14.0 Feb 15, 2022
0.7.1 Jul 22, 2020

#457 in Development tools

Download history 250/week @ 2024-07-25 230/week @ 2024-08-01 240/week @ 2024-08-08 293/week @ 2024-08-15 282/week @ 2024-08-22 380/week @ 2024-08-29 401/week @ 2024-09-05 327/week @ 2024-09-12 322/week @ 2024-09-19 440/week @ 2024-09-26 511/week @ 2024-10-03 411/week @ 2024-10-10 368/week @ 2024-10-17 424/week @ 2024-10-24 439/week @ 2024-10-31 360/week @ 2024-11-07

1,650 downloads per month
Used in parsec-tool

Apache-2.0

120KB
2K SLoC

Parsec Rust Client

Crates.io Code documentation

This repository contains a Rust client for consuming the API provided by the Parsec service. The low-level functionality that this library uses for IPC is implemented in the interface crate.

When using the JWT-SVID authentication method, the client will expect the SPIFFE_ENDPOINT_SOCKET environment variable to contain the path of the Workload API endpoint. You will need to compile the crate with the spiffe-auth feature activated. See the SPIFFE Workload Endpoint for more information.

Locating the Parsec endpoint

The Rust client follows the service discovery policy to find the Parsec endpoint. For example if the socket is at /tmp/parsec.sock:

export PARSEC_SERVICE_ENDPOINT="unix:/tmp/parsec.sock"

License

The software is provided under Apache-2.0. Contributions to this project are accepted under the same license.

Contributing

Please check the Contribution Guidelines to know more about the contribution process.

Copyright 2020 Contributors to the Parsec project.

Dependencies

~12–26MB
~435K SLoC