Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Disambiguate the names of the Rust client crates. #126

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/rust/hyper/v1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "nomad_client"
name = "nomad_client_hyper"
version = "1.1.4"
authors = ["OpenAPI Generator team and contributors"]
edition = "2018"
Expand Down
10 changes: 8 additions & 2 deletions clients/rust/hyper/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

## Installation

Put the package under your project folder in a directory named `nomad_client` and add the following to `Cargo.toml` under `[dependencies]`:
Put the package under your project folder in a directory named `nomad_client_hyper` and add the following to `Cargo.toml` under `[dependencies]`:

```
nomad_client = { path = "./nomad_client" }
nomad_client_hyper = { path = "./nomad_client_hyper" }
```

Or depend on it from Git:

```
nomad_client_hyper = { git = "https://github.com/hashicorp/nomad-openapi" }
```

## Documentation for API Endpoints
Expand Down
2 changes: 1 addition & 1 deletion clients/rust/reqwest/v1/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "nomad_client"
name = "nomad_client_reqwest"
version = "1.1.4"
authors = ["OpenAPI Generator team and contributors"]
edition = "2018"
Expand Down
10 changes: 8 additions & 2 deletions clients/rust/reqwest/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

## Installation

Put the package under your project folder in a directory named `nomad_client` and add the following to `Cargo.toml` under `[dependencies]`:
Put the package under your project folder in a directory named `nomad_client_reqwest` and add the following to `Cargo.toml` under `[dependencies]`:

```
nomad_client = { path = "./nomad_client" }
nomad_client_reqwest = { path = "./nomad_client_reqwest" }
```

Or depend on it from Git:

```
nomad_client_reqwest = { git = "https://github.com/hashicorp/nomad-openapi" }
```

## Documentation for API Endpoints
Expand Down