-
Notifications
You must be signed in to change notification settings - Fork 59
/
Cargo.toml
42 lines (33 loc) · 1006 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "openai-api-rs"
version = "5.2.1"
edition = "2021"
authors = ["Dongri Jin <[email protected]>"]
license = "MIT"
description = "OpenAI API client library for Rust (unofficial)"
repository = "https://github.com/dongri/openai-api-rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["default-tls"]
rustls = ["reqwest/rustls-tls", "tokio-tungstenite/rustls-tls-webpki-roots"]
default-tls = ["reqwest/default-tls", "tokio-tungstenite/native-tls"]
[dependencies.reqwest]
version = "0.12"
default-features = false
features = ["charset", "http2", "json", "multipart", "socks"]
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.bytes]
version = "1.7.1"
[dependencies.tokio-tungstenite]
version = "0.24.0"
features = ["connect"]
[dependencies.futures-util]
version = "0.3.31"
features = ["sink", "std"]