Skip to content

Commit

Permalink
fixes;
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz committed Mar 20, 2024
1 parent 895c120 commit 8512cea
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.60
0.2.61
2 changes: 1 addition & 1 deletion kittycad.rs.patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"path": "/info/x-rust",
"value": {
"client": "// Authenticate via an API token.\nlet client = kittycad::Client::new(\"$TOKEN\");\n\n// - OR -\n\n// Authenticate with your token and host parsed from the environment variables:\n// `KITTYCAD_API_TOKEN`.\nlet client = kittycad::Client::new_from_env();",
"install": "[dependencies]\nkittycad = \"0.2.60\""
"install": "[dependencies]\nkittycad = \"0.2.61\""
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion kittycad/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "kittycad"
description = "A fully generated & opinionated API client for the KittyCAD API."
version = "0.2.60"
version = "0.2.61"
documentation = "https://docs.rs/kittycad"
readme = "README.md"
repository = "https://github.com/KittyCAD/kittycad.rs/tree/main/kittycad"
Expand Down
2 changes: 1 addition & 1 deletion kittycad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To install the library, add the following to your `Cargo.toml` file.

```toml
[dependencies]
kittycad = "0.2.60"
kittycad = "0.2.61"
```

## Basic example
Expand Down
10 changes: 5 additions & 5 deletions kittycad/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//!
//! ```toml
//! [dependencies]
//! kittycad = "0.2.60"
//! kittycad = "0.2.61"
//! ```
//!
//! ## Basic example
Expand Down Expand Up @@ -220,7 +220,7 @@ impl Client {
.build();
Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "https://api.zoo.dev".to_string(),

client,
client_http1_only,
Expand All @@ -234,7 +234,7 @@ impl Client {
match (builder_http.build(), builder_websocket.build()) {
(Ok(c), Ok(c1)) => Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "https://api.zoo.dev".to_string(),

client: c,
client_http1_only: c1,
Expand Down Expand Up @@ -272,7 +272,7 @@ impl Client {
.build();
Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "https://api.zoo.dev".to_string(),

client,
}
Expand All @@ -285,7 +285,7 @@ impl Client {
match builder_http.build() {
Ok(c) => Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "https://api.zoo.dev".to_string(),

client: c,
},
Expand Down
8 changes: 4 additions & 4 deletions openapitor/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl Client {
.build();
Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "BASE_URL".to_string(),
client,
client_http1_only,
Expand All @@ -292,7 +292,7 @@ impl Client {
match (builder_http.build(), builder_websocket.build()) {
(Ok(c), Ok(c1)) => Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "BASE_URL".to_string(),
client: c,
client_http1_only: c1,
Expand Down Expand Up @@ -333,7 +333,7 @@ impl Client {
.build();
Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "BASE_URL".to_string(),
client,
}
Expand All @@ -346,7 +346,7 @@ impl Client {
match builder_http.build() {
Ok(c) => Client {
token: token.to_string(),
base_url: "https://api.kittycad.io".to_string(),
base_url: "BASE_URL".to_string(),
client: c,
},
Expand Down

0 comments on commit 8512cea

Please sign in to comment.