-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (44 loc) · 1.31 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "libopenai"
description = "A Rust client for OpenAI's API"
version = "0.1.1"
edition = "2021"
authors = ["Alex Andreba <[email protected]>"]
keywords = ["chatgpt", "openai", "ai"]
categories = [
"api-bindings",
"asynchronous",
"multimedia::images",
"multimedia::audio",
"text-processing",
]
repository = "https://github.com/Aandreba/libopenai"
license = "Apache"
license-file = "LICENSE.md"
exclude = [".github", "examples", "media", "Makefile"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
anyhow = "1.0.69"
base64 = "0.21.0"
bytes = "1.4.0"
chrono = { version = "0.4.23", features = ["serde"] }
docfg = "0.1.0"
dotenv = "0.15.0"
elor = { version = "1.1.4", features = ["async"] }
futures = "0.3.27"
image = { version = "0.24.5" }
pin-project-lite = "0.2.9"
rand = "0.8.5"
reqwest = { version = "0.11.14", features = ["json", "stream", "multipart"] }
serde = { version = "1.0.155", features = ["derive", "rc"] }
serde_json = "1.0.94"
srtlib = "0.1.5"
thiserror = "1.0.39"
tokio = { version = "1.25.0", features = ["full"] }
tokio-util = "0.7.7"
tracing = { version = "0.1.37", optional = true }
[dev-dependencies]
tracing-subscriber = "0.3.16"