-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check in a client for the public API for test purposes
- Loading branch information
Showing
4 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[package] | ||
name = "oxide-client" | ||
version = "0.1.0" | ||
edition = "2021" | ||
license = "MPL-2.0" | ||
|
||
[dependencies] | ||
futures = "0.3.21" | ||
progenitor = { git = "https://github.com/oxidecomputer/progenitor" } | ||
regress = "0.4.1" | ||
serde_json = "1.0.82" | ||
|
||
[dependencies.chrono] | ||
version = "0.4" | ||
features = [ "serde" ] | ||
|
||
[dependencies.reqwest] | ||
version = "0.11" | ||
default-features = false | ||
features = ["rustls-tls", "stream"] | ||
|
||
[dependencies.serde] | ||
version = "1.0" | ||
features = [ "derive" ] | ||
|
||
[dependencies.uuid] | ||
version = "1.1.0" | ||
features = [ "serde", "v4" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this | ||
// file, You can obtain one at https://mozilla.org/MPL/2.0/. | ||
|
||
//! Interface for making API requests to the Oxide control plane. | ||
progenitor::generate_api!( | ||
spec = "../openapi/nexus.json", | ||
interface = Builder, | ||
tags = Separate, | ||
); |