-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
28 lines (25 loc) · 841 Bytes
/
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
[package]
name = "openai"
version = "1.0.0-alpha.18"
authors = ["Lorenzo Fontoura <[email protected]>", "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.157", features = ["derive"] }
reqwest-eventsource = "0.6"
tokio = { version = "1.26.0", features = ["full"] }
anyhow = "1.0.70"
futures-util = "0.3.28"
bytes = "1.4.0"
[dev-dependencies]
dotenvy = "0.15.7"
[features]
default = ["native-tls"]
native-tls = ["reqwest/native-tls"]
rustls = ["reqwest/rustls-tls"]