From d76bdeb29a6469bb7afef248370527b4b06b6c5f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 01:35:39 +0000 Subject: [PATCH] Bump async-openai from 0.14.2 to 0.15.0 Bumps [async-openai](https://github.com/64bit/async-openai) from 0.14.2 to 0.15.0. - [Release notes](https://github.com/64bit/async-openai/releases) - [Commits](https://github.com/64bit/async-openai/compare/async-openai-v0.14.2...async-openai-v0.15.0) --- updated-dependencies: - dependency-name: async-openai dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 48 ++++++++++++++++++++++++++++++++++++++++++++---- Cargo.toml | 2 +- 2 files changed, 45 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d478889..331f9da 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -91,9 +91,9 @@ dependencies = [ [[package]] name = "async-openai" -version = "0.14.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7150fb5d9cc4eb0184af43ce75a89620dc3747d3c816e8b0ba200682d0155c05" +checksum = "7e1df052c2bd7b241fc828bc2fda74ce9a7ef05e0a593c37275aaaba52caf49d" dependencies = [ "async-convert", "backoff", @@ -112,6 +112,30 @@ dependencies = [ "tracing", ] +[[package]] +name = "async-openai" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "716fd3fa452e27f7c820daab6f1d010cf3359f3ad6fad275d228505529f72199" +dependencies = [ + "async-convert", + "backoff", + "base64", + "derive_builder", + "futures", + "rand", + "reqwest", + "reqwest-eventsource", + "secrecy", + "serde", + "serde_json", + "thiserror", + "tokio", + "tokio-stream", + "tokio-util", + "tracing", +] + [[package]] name = "async-trait" version = "0.1.73" @@ -513,7 +537,7 @@ name = "gptee" version = "0.3.10" dependencies = [ "anyhow", - "async-openai", + "async-openai 0.15.0", "backoff", "clap", "futures", @@ -1136,6 +1160,16 @@ dependencies = [ "untrusted", ] +[[package]] +name = "secrecy" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" +dependencies = [ + "serde", + "zeroize", +] + [[package]] name = "security-framework" version = "2.9.2" @@ -1326,7 +1360,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fdf6d1233fb3916cc4a19756df59472ef702ae82d1b4eda2dca8794911f9dc9d" dependencies = [ "anyhow", - "async-openai", + "async-openai 0.14.3", "base64", "bstr", "fancy-regex", @@ -1755,3 +1789,9 @@ dependencies = [ "cfg-if", "windows-sys", ] + +[[package]] +name = "zeroize" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" diff --git a/Cargo.toml b/Cargo.toml index 772c77c..23b7675 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ path = "src/main.rs" [dependencies] anyhow = "1.0.75" -async-openai = "0.14.2" +async-openai = "0.15.0" backoff = { version = "0.4.0", features = ["tokio"] } clap = { version = "4.4.3", features = ["derive"] } futures = "0.3.28"