forked from agrinman/openai
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
39 lines (36 loc) · 1.02 KB
/
Cargo.toml
File metadata and controls
39 lines (36 loc) · 1.02 KB
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
[package]
name = "openai"
version = "1.0.0-alpha.18"
authors = ["Lorenzo Fontoura <lorenzo@nioel.com>", "valentinegb"]
edition = "2021"
description = "An unofficial Rust library for the OpenAI API."
repository = "https://github.com/rellfy/openai"
license = "MIT"
keywords = ["ai", "machine-learning", "openai", "library"]
[dependencies]
serde_json = "1.0.94"
derive_builder = "0.20.0"
reqwest = { version = "0.12", default-features = false, features = [
"json",
"stream",
"multipart",
], optional = true }
serde = { version = "^1.0", features = ["derive"] }
reqwest-eventsource = "0.6"
tokio = { version = "1.0", features = ["full"] }
anyhow = "1.0"
futures-util = "0.3.28"
bytes = "1.4.0"
schemars = "0.8"
either = { version = "1.8.1", features = ["serde"] }
serde-double-tag = "0.0.4"
log = "0.4"
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
once_cell = "^1"
[dev-dependencies]
dotenvy = "0.15.7"
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]