Skip to content

Commit b25bf19

Browse files
authored
Merge pull request parallaxsecond#90 from hug-dev/prepare-release
Prepare for the release
2 parents 0e94abb + 31f7c01 commit b25bf19

File tree

4 files changed

+416
-298
lines changed

4 files changed

+416
-298
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parsec-client"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
authors = ["Contributors to the Parsec project"]
55
description = "Parsec Client library for the Rust ecosystem"
66
license = "Apache-2.0"
@@ -12,7 +12,7 @@ edition = "2018"
1212
documentation = "https://docs.rs/crate/parsec-client"
1313

1414
[dependencies]
15-
parsec-interface = { git = "https://github.com/parallaxsecond/parsec-interface-rs.git", rev = "6b951390791b398b76eb02c942e24d7c91acc980"}
15+
parsec-interface = "0.25.0"
1616
num = "0.3.0"
1717
log = "0.4.11"
1818
derivative = "2.1.1"

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@ This repository contains a Rust client for consuming the API provided by the [Pa
1010
The low-level functionality that this library uses for IPC is implemented in the [interface crate](https://github.com/parallaxsecond/parsec-interface-rs).
1111

1212
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.
13+
You will need to compile the crate with the `spiffe-auth` feature activated.
1314
See the [SPIFFE Workload Endpoint](https://github.com/spiffe/spiffe/blob/master/standards/SPIFFE_Workload_Endpoint.md#4-locating-the-endpoint) for more information.
1415

1516
## Locating the Parsec endpoint
1617

1718
The Rust client follows the [service discovery](https://parallaxsecond.github.io/parsec-book/parsec_client/api_overview.html#service-discovery) policy
18-
to find the Parsec endpoint.
19+
to find the Parsec endpoint. For example if the socket is at `/tmp/parsec.sock`:
20+
21+
```
22+
export PARSEC_SERVICE_ENDPOINT="unix:/tmp/parsec.sock"
23+
```
1924

2025
## License
2126

0 commit comments

Comments
 (0)