Skip to content
Merged
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
1,099 changes: 852 additions & 247 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SHELL := bash

VERSION = 0.10.0
VERSION = 0.11.0-rc.0

DOCUSIGN_SPEC_DIR = $(CURDIR)/specs/docusign
DOCUSIGN_SPEC = $(DOCUSIGN_SPEC_DIR)/docusign.yaml
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,3 @@ A place for keeping all our generated third party API clients.
- [Stripe](stripe/) [![docs.rs](https://docs.rs/dolladollabills/badge.svg)](https://docs.rs/dolladollabills)
- [TripActions](tripactions/) [![docs.rs](https://docs.rs/tripactions/badge.svg)](https://docs.rs/tripactions)
- [Zoom](zoom/) [![docs.rs](https://docs.rs/zoom-api/badge.svg)](https://docs.rs/zoom-api)

## Generator

The generator lives in the [generator](https://github.com/oxidecomputer/third-party-api-clients/tree/main/generator) directory.
It generates the entirety of the crates including their `README.md` and `Cargo.toml`.
This project does not use [progenitor](https://github.com/oxidecomputer/progenitor) or [openapi-generator](https://github.com/oxidecomputer/openapi-generator).
16 changes: 8 additions & 8 deletions docusign/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "docusign"
description = "A fully generated & opinionated API client for the DocuSign API."
version = "0.10.0"
version = "0.11.0-rc.0"
documentation = "https://docs.rs/docusign/"
repository = "https://github.com/oxidecomputer/third-party-api-clients/tree/main/docusign"
readme = "README.md"
Expand All @@ -12,8 +12,8 @@ license = "MIT"
default = ["middleware", "rustls-tls"]
# enable etag-based http_cache functionality
httpcache = ["dirs"]
native-tls = ["reqwest/default-tls", "openssl"]
rustls-tls = ["reqwest/rustls-tls", "ring", "pem"]
native-tls = ["reqwest/native-tls", "openssl"]
rustls-tls = ["reqwest/default-tls", "ring", "pem"]
middleware = [
"reqwest-conditional-middleware",
"reqwest-middleware",
Expand All @@ -33,11 +33,11 @@ openssl = { version = "0.10", default-features = false, optional = true }
parse_link_header = "0.3.3"
pem = { version = "3.0.5", default-features = false, optional = true }
percent-encoding = "2.2"
reqwest = { version = "0.12", default-features = false, features = ["json", "multipart"] }
reqwest-conditional-middleware = { version = "0.4", optional = true }
reqwest-middleware = { version = "0.4", features = ["multipart"], optional = true }
reqwest-retry = { version = "0.7", optional = true }
reqwest-tracing = { version = "0.5.4", optional = true }
reqwest = { version = "0.13", default-features = false, features = ["json", "form"] }
reqwest-conditional-middleware = { version = "0.5", optional = true }
reqwest-middleware = { version = "0.5", features = ["multipart"], optional = true }
reqwest-retry = { version = "0.9", optional = true }
reqwest-tracing = { version = "0.7", optional = true }
ring = { version = "0.17", default-features = false, optional = true }
schemars = { version = "0.8", features = ["bytes", "chrono", "url", "uuid1"] }
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion docusign/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To install the library, add the following to your `Cargo.toml` file.

```toml
[dependencies]
docusign = "0.10.0"
docusign = "0.11.0-rc.0"
```

## Basic example
Expand Down
2 changes: 1 addition & 1 deletion docusign/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//!
//! ```toml
//! [dependencies]
//! docusign = "0.10.0"
//! docusign = "0.11.0-rc.0"
//! ```
//!
//! ## Basic example
Expand Down Expand Up @@ -4075,8 +4075,8 @@
///To use an anchoring option:
///
///1. Identify the location in the document by text string. You can use a pre-existing text string or add a new one.
///For best performance DocuSign recommends using single word anchor strings when possible, especially when there are a large number of pages in the envelope.

Check warning on line 4078 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:4078:8 | 4078 | ///For best performance DocuSign recommends using single word anchor strings when possible, especially when there are a large ... | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 4078 | /// For best performance DocuSign recommends using single word anchor strings when possible, especially when there are a large number of pages in the envelope. | +++
///For example, you might want to add a Sign Here tab to the "Borrower's Signature" lines in a document, but that phrase might occur in places in the document where you don't want to tab to appear. In this case, you could add the text "BorrowerSignHere" in white font color (so that isn't visible in the document) to all the places you want Sign Here tabs to appear and use "BorrowerSignHere" as the anchor string.

Check warning on line 4079 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:4079:8 | 4079 | ///For example, you might want to add a Sign Here tab to the "Borrower's Signature" lines in a document, but that phrase might... | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 4079 | /// For example, you might want to add a Sign Here tab to the "Borrower's Signature" lines in a document, but that phrase might occur in places in the document where you don't want to tab to appear. In this case, you could add the text "BorrowerSignHere" in white font color (so that isn't visible in the document) to all the places you want Sign Here tabs to appear and use "BorrowerSignHere" as the anchor string. | +++
///1. Reference the anchor through the `anchorString` property of the tab.
///1. Determine the offset from the anchor string location to where the tab should be placed.
///
Expand Down Expand Up @@ -4151,7 +4151,7 @@
/// In order to automatically populate both occurrences
/// of the `Name` Text tabs,
/// the `bold` property must be set to the same value for both tabs.
///.

Check warning on line 4154 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:4154:8 | 4154 | ///. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 4154 | /// . | ++
pub fn envelope_recipient_tabs(&self) -> envelope_recipient_tabs::EnvelopeRecipientTabs {
envelope_recipient_tabs::EnvelopeRecipientTabs::new(self.clone())
}
Expand Down Expand Up @@ -4991,8 +4991,8 @@
///To use an anchoring option:
///
///1. Identify the location in the document by text string. You can use a pre-existing text string or add a new one.
///For best performance DocuSign recommends using single word anchor strings when possible, especially when there are a large number of pages in the envelope.

Check warning on line 4994 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:4994:8 | 4994 | ///For best performance DocuSign recommends using single word anchor strings when possible, especially when there are a large ... | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 4994 | /// For best performance DocuSign recommends using single word anchor strings when possible, especially when there are a large number of pages in the envelope. | +++
///For example, you might want to add a Sign Here tab to the "Borrower's Signature" lines in a document, but that phrase might occur in places in the document where you don't want to tab to appear. In this case, you could add the text "BorrowerSignHere" in white font color (so that isn't visible in the document) to all the places you want Sign Here tabs to appear and use "BorrowerSignHere" as the anchor string.

Check warning on line 4995 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:4995:8 | 4995 | ///For example, you might want to add a Sign Here tab to the "Borrower's Signature" lines in a document, but that phrase might... | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 4995 | /// For example, you might want to add a Sign Here tab to the "Borrower's Signature" lines in a document, but that phrase might occur in places in the document where you don't want to tab to appear. In this case, you could add the text "BorrowerSignHere" in white font color (so that isn't visible in the document) to all the places you want Sign Here tabs to appear and use "BorrowerSignHere" as the anchor string. | +++
///1. Reference the anchor through the `anchorString` property of the tab.
///1. Determine the offset from the anchor string location to where the tab should be placed.
///
Expand Down Expand Up @@ -5062,7 +5062,7 @@
/// In order to automatically populate both occurrences
/// of the `Name` Text tabs,
/// the `bold` property must be set to the same value for both tabs.
///.

Check warning on line 5065 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:5065:8 | 5065 | ///. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 5065 | /// . | ++
pub fn template_recipient_tabs(&self) -> template_recipient_tabs::TemplateRecipientTabs {
template_recipient_tabs::TemplateRecipientTabs::new(self.clone())
}
Expand Down Expand Up @@ -5168,17 +5168,17 @@
///
///- `PowerForms_Recipient_Denied_Documents`: The recipient is denied access to the documents.
///- `PowerForms_DigitalCerts_Shared_Tabs_Not_Allowed`: Shared tags are not allowed because a digital certificate is required
///for a signer.

Check warning on line 5171 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:5171:8 | 5171 | ///for a signer. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 5171 | /// for a signer. | ++
///- `PowerForms_DigitalCerts_Free_Form_Tabs_Not_Allowed`: Signers that are required to use a digital certificate must have at
///least one required, non-conditional signature or initials tab.

Check warning on line 5173 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:5173:8 | 5173 | ///least one required, non-conditional signature or initials tab. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 5173 | /// least one required, non-conditional signature or initials tab. | ++
///- `PowerForms_DigitalCerts_Multiple_Recipients_Routing_Order`: Signers that are required to use a digital certificate must be the
///only recipient in a routing order. Edit the routing order or remove the digital certificate requirement.

Check warning on line 5175 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:5175:8 | 5175 | ///only recipient in a routing order. Edit the routing order or remove the digital certificate requirement. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 5175 | /// only recipient in a routing order. Edit the routing order or remove the digital certificate requirement. | ++
///- `PowerForms_DigitalCerts_Markup_Not_Allowed`: Document markup is not allowed because a digital certificate is
///required for a signer.

Check warning on line 5177 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:5177:8 | 5177 | ///required for a signer. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 5177 | /// required for a signer. | ++
///- `PowerForms_Incomplete_Recipient`: The recipient's username, email, or role is not set.
///- `PowerForms_PowerFormId_Required`: A `powerFormId` is required.
///- `PowerForms_PowerFormId_Mismatch`: A `powerFormId` mismatch has occurred.
///.

Check warning on line 5181 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:5181:8 | 5181 | ///. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 5181 | /// . | ++
pub fn power_forms(&self) -> power_forms::PowerForms {
power_forms::PowerForms::new(self.clone())
}
Expand Down Expand Up @@ -5253,7 +5253,7 @@
///- The maximum number of all of a member's unexpired, unconsumed ChunkedUploads. The default value is 10.
///- The maximum total size of all of a member's unexpired, unconsumed ChunkedUploads. The default value is 1 GB.
///- The amount of time that a chunked upload is active after you initialize it. The default value is 20 minutes.
///.

Check warning on line 5256 in docusign/src/lib.rs

View workflow job for this annotation

GitHub Actions / clippy

doc list item without indentation

warning: doc list item without indentation --> docusign/src/lib.rs:5256:8 | 5256 | ///. | ^ | = help: if this is supposed to be its own paragraph, add a blank line = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation help: indent this line | 5256 | /// . | ++
pub fn chunked_uploads(&self) -> chunked_uploads::ChunkedUploads {
chunked_uploads::ChunkedUploads::new(self.clone())
}
Expand Down
10 changes: 5 additions & 5 deletions docusign/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@

struct BoolVisitor;

impl Visitor<'_> for BoolVisitor {
impl<'de> Visitor<'de> for BoolVisitor {
type Value = bool;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -231,7 +231,7 @@

struct I32Visitor;

impl Visitor<'_> for I32Visitor {
impl<'de> Visitor<'de> for I32Visitor {
type Value = i32;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -263,7 +263,7 @@
where
E: de::Error,
{
use std::i32;

Check warning on line 266 in docusign/src/utils.rs

View workflow job for this annotation

GitHub Actions / clippy

importing legacy numeric constants

warning: importing legacy numeric constants --> docusign/src/utils.rs:266:13 | 266 | use std::i32; | ^^^^^^^^ | = help: remove this import = note: then `i32::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `#[warn(clippy::legacy_numeric_constants)]` on by default
if value >= i64::from(i32::MIN) && value <= i64::from(i32::MAX) {
Ok(value as i32)
} else {
Expand Down Expand Up @@ -303,7 +303,7 @@

struct I64Visitor;

impl Visitor<'_> for I64Visitor {
impl<'de> Visitor<'de> for I64Visitor {
type Value = i64;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -370,7 +370,7 @@

struct F32Visitor;

impl Visitor<'_> for F32Visitor {
impl<'de> Visitor<'de> for F32Visitor {
type Value = f32;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -402,7 +402,7 @@
where
E: de::Error,
{
use std::i32;

Check warning on line 405 in docusign/src/utils.rs

View workflow job for this annotation

GitHub Actions / clippy

importing legacy numeric constants

warning: importing legacy numeric constants --> docusign/src/utils.rs:405:13 | 405 | use std::i32; | ^^^^^^^^ | = help: remove this import = note: then `i32::<CONST>` will resolve to the respective associated constant = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
if value >= i64::from(i32::MIN) && value <= i64::from(i32::MAX) {
Ok(value as f32)
} else {
Expand Down Expand Up @@ -461,7 +461,7 @@

struct F64Visitor;

impl Visitor<'_> for F64Visitor {
impl<'de> Visitor<'de> for F64Visitor {
type Value = f64;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down
14 changes: 7 additions & 7 deletions generator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3365,8 +3365,8 @@ license = "MIT"
default = ["middleware", "rustls-tls"]
# enable etag-based http_cache functionality
httpcache = ["dirs"]
native-tls = ["reqwest/default-tls", "openssl"]
rustls-tls = ["reqwest/rustls-tls", "ring", "pem"]
native-tls = ["reqwest/native-tls", "openssl"]
rustls-tls = ["reqwest/default-tls", "ring", "pem"]
middleware = [
"reqwest-conditional-middleware",
"reqwest-middleware",
Expand All @@ -3386,11 +3386,11 @@ openssl = {{ version = "0.10", default-features = false, optional = true }}
parse_link_header = "0.3.3"
pem = {{ version = "3.0.5", default-features = false, optional = true }}
percent-encoding = "2.2"
reqwest = {{ version = "0.12", default-features = false, features = ["json", "multipart"] }}
reqwest-conditional-middleware = {{ version = "0.4", optional = true }}
reqwest-middleware = {{ version = "0.4", features = ["multipart"], optional = true }}
reqwest-retry = {{ version = "0.7", optional = true }}
reqwest-tracing = {{ version = "0.5.4", optional = true }}
reqwest = {{ version = "0.13", default-features = false, features = ["json", "form"] }}
reqwest-conditional-middleware = {{ version = "0.5", optional = true }}
reqwest-middleware = {{ version = "0.5", features = ["multipart"], optional = true }}
reqwest-retry = {{ version = "0.9", optional = true }}
reqwest-tracing = {{ version = "0.7", optional = true }}
ring = {{ version = "0.17", default-features = false, optional = true }}
schemars = {{ version = "0.8", features = ["bytes", "chrono", "url", "uuid1"] }}
serde = {{ version = "1", features = ["derive"] }}
Expand Down
16 changes: 8 additions & 8 deletions giphy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "giphy-api"
description = "A fully generated & opinionated API client for the Giphy API."
version = "0.10.0"
version = "0.11.0-rc.0"
documentation = "https://docs.rs/giphy-api/"
repository = "https://github.com/oxidecomputer/third-party-api-clients/tree/main/giphy"
readme = "README.md"
Expand All @@ -12,8 +12,8 @@ license = "MIT"
default = ["middleware", "rustls-tls"]
# enable etag-based http_cache functionality
httpcache = ["dirs"]
native-tls = ["reqwest/default-tls", "openssl"]
rustls-tls = ["reqwest/rustls-tls", "ring", "pem"]
native-tls = ["reqwest/native-tls", "openssl"]
rustls-tls = ["reqwest/default-tls", "ring", "pem"]
middleware = [
"reqwest-conditional-middleware",
"reqwest-middleware",
Expand All @@ -33,11 +33,11 @@ openssl = { version = "0.10", default-features = false, optional = true }
parse_link_header = "0.3.3"
pem = { version = "3.0.5", default-features = false, optional = true }
percent-encoding = "2.2"
reqwest = { version = "0.12", default-features = false, features = ["json", "multipart"] }
reqwest-conditional-middleware = { version = "0.4", optional = true }
reqwest-middleware = { version = "0.4", features = ["multipart"], optional = true }
reqwest-retry = { version = "0.7", optional = true }
reqwest-tracing = { version = "0.5.4", optional = true }
reqwest = { version = "0.13", default-features = false, features = ["json", "form"] }
reqwest-conditional-middleware = { version = "0.5", optional = true }
reqwest-middleware = { version = "0.5", features = ["multipart"], optional = true }
reqwest-retry = { version = "0.9", optional = true }
reqwest-tracing = { version = "0.7", optional = true }
ring = { version = "0.17", default-features = false, optional = true }
schemars = { version = "0.8", features = ["bytes", "chrono", "url", "uuid1"] }
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion giphy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To install the library, add the following to your `Cargo.toml` file.

```toml
[dependencies]
giphy-api = "0.10.0"
giphy-api = "0.11.0-rc.0"
```

## Basic example
Expand Down
2 changes: 1 addition & 1 deletion giphy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
//!
//! ```toml
//! [dependencies]
//! giphy-api = "0.10.0"
//! giphy-api = "0.11.0-rc.0"
//! ```
//!
//! ## Basic example
Expand Down
10 changes: 5 additions & 5 deletions giphy/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pub mod deserialize_null_string {

struct BoolVisitor;

impl Visitor<'_> for BoolVisitor {
impl<'de> Visitor<'de> for BoolVisitor {
type Value = bool;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -231,7 +231,7 @@ pub mod deserialize_null_boolean {

struct I32Visitor;

impl Visitor<'_> for I32Visitor {
impl<'de> Visitor<'de> for I32Visitor {
type Value = i32;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -303,7 +303,7 @@ pub mod deserialize_null_i32 {

struct I64Visitor;

impl Visitor<'_> for I64Visitor {
impl<'de> Visitor<'de> for I64Visitor {
type Value = i64;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -370,7 +370,7 @@ pub mod deserialize_null_i64 {

struct F32Visitor;

impl Visitor<'_> for F32Visitor {
impl<'de> Visitor<'de> for F32Visitor {
type Value = f32;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -461,7 +461,7 @@ pub mod deserialize_null_f32 {

struct F64Visitor;

impl Visitor<'_> for F64Visitor {
impl<'de> Visitor<'de> for F64Visitor {
type Value = f64;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down
16 changes: 8 additions & 8 deletions github/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "octorust"
description = "A fully generated & opinionated API client for the GitHub API."
version = "0.10.0"
version = "0.11.0-rc.0"
documentation = "https://docs.rs/octorust/"
repository = "https://github.com/oxidecomputer/third-party-api-clients/tree/main/github"
readme = "README.md"
Expand All @@ -12,8 +12,8 @@ license = "MIT"
default = ["middleware", "rustls-tls"]
# enable etag-based http_cache functionality
httpcache = ["dirs"]
native-tls = ["reqwest/default-tls", "openssl"]
rustls-tls = ["reqwest/rustls-tls", "ring", "pem"]
native-tls = ["reqwest/native-tls", "openssl"]
rustls-tls = ["reqwest/default-tls", "ring", "pem"]
middleware = [
"reqwest-conditional-middleware",
"reqwest-middleware",
Expand All @@ -33,11 +33,11 @@ openssl = { version = "0.10", default-features = false, optional = true }
parse_link_header = "0.3.3"
pem = { version = "3.0.5", default-features = false, optional = true }
percent-encoding = "2.2"
reqwest = { version = "0.12", default-features = false, features = ["json", "multipart"] }
reqwest-conditional-middleware = { version = "0.4", optional = true }
reqwest-middleware = { version = "0.4", features = ["multipart"], optional = true }
reqwest-retry = { version = "0.7", optional = true }
reqwest-tracing = { version = "0.5.4", optional = true }
reqwest = { version = "0.13", default-features = false, features = ["json", "form"] }
reqwest-conditional-middleware = { version = "0.5", optional = true }
reqwest-middleware = { version = "0.5", features = ["multipart"], optional = true }
reqwest-retry = { version = "0.9", optional = true }
reqwest-tracing = { version = "0.7", optional = true }
ring = { version = "0.17", default-features = false, optional = true }
schemars = { version = "0.8", features = ["bytes", "chrono", "url", "uuid1"] }
serde = { version = "1", features = ["derive"] }
Expand Down
6 changes: 3 additions & 3 deletions github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To install the library, add the following to your `Cargo.toml` file.

```toml
[dependencies]
octorust = "0.10.0"
octorust = "0.11.0-rc.0"
```

## Basic example
Expand All @@ -58,7 +58,7 @@ let github = Client::new(
```

If you are a GitHub enterprise customer, you will want to create a client with the
[Client#host_override](https://docs.rs/octorust/0.10.0/octorust/struct.Client.html#method.host_override) method.
[Client#host_override](https://docs.rs/octorust/0.11.0-rc.0/octorust/struct.Client.html#method.host_override) method.

## Feature flags

Expand All @@ -72,7 +72,7 @@ To enable this, add the following to your `Cargo.toml` file:

```toml
[dependencies]
octorust = { version = "0.10.0", features = ["httpcache"] }
octorust = { version = "0.11.0-rc.0", features = ["httpcache"] }
```

Then use the `Client::custom` constructor to provide a cache implementation.
Expand Down
6 changes: 3 additions & 3 deletions github/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//!
//! ```toml
//! [dependencies]
//! octorust = "0.10.0"
//! octorust = "0.11.0-rc.0"
//! ```
//!
//! ## Basic example
Expand All @@ -56,7 +56,7 @@
//! ```
//!
//! If you are a GitHub enterprise customer, you will want to create a client with the
//! [Client#host_override](https://docs.rs/octorust/0.10.0/octorust/struct.Client.html#method.host_override) method.
//! [Client#host_override](https://docs.rs/octorust/0.11.0-rc.0/octorust/struct.Client.html#method.host_override) method.
//!
//! ## Feature flags
//!
Expand All @@ -70,7 +70,7 @@
//!
//! ```toml
//! [dependencies]
//! octorust = { version = "0.10.0", features = ["httpcache"] }
//! octorust = { version = "0.11.0-rc.0", features = ["httpcache"] }
//! ```
//!
//! Then use the `Client::custom` constructor to provide a cache implementation.
Expand Down
10 changes: 5 additions & 5 deletions github/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ pub mod deserialize_null_string {

struct BoolVisitor;

impl Visitor<'_> for BoolVisitor {
impl<'de> Visitor<'de> for BoolVisitor {
type Value = bool;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -336,7 +336,7 @@ pub mod deserialize_null_boolean {

struct I32Visitor;

impl Visitor<'_> for I32Visitor {
impl<'de> Visitor<'de> for I32Visitor {
type Value = i32;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -408,7 +408,7 @@ pub mod deserialize_null_i32 {

struct I64Visitor;

impl Visitor<'_> for I64Visitor {
impl<'de> Visitor<'de> for I64Visitor {
type Value = i64;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -475,7 +475,7 @@ pub mod deserialize_null_i64 {

struct F32Visitor;

impl Visitor<'_> for F32Visitor {
impl<'de> Visitor<'de> for F32Visitor {
type Value = f32;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down Expand Up @@ -566,7 +566,7 @@ pub mod deserialize_null_f32 {

struct F64Visitor;

impl Visitor<'_> for F64Visitor {
impl<'de> Visitor<'de> for F64Visitor {
type Value = f64;

fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
Expand Down
Loading
Loading