-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
32 lines (28 loc) · 1005 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
[package]
name = "chat-gpt-lib-rs"
version = "0.5.1"
edition = "2021"
description = "A Rust library for interacting with OpenAI's ChatGPT API, providing a simple interface to make API requests and handle responses."
license = "Apache-2.0"
repository = "https://github.com/Arend-Jan/chat-gpt-lib-rs"
authors = ["Arend-Jan Oosterveld <[email protected]>"]
readme = "README.md"
keywords = ["openai", "chatgpt", "gpt", "api", "client"]
categories = ["api-bindings", "text-processing", "web-programming"]
# Add the example configuration
[[example]]
name = "cli-chat-example"
path = "examples/cli-chat-example.rs"
[dependencies]
env_logger = "0.11"
log = "0.4"
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
rustls = ">=0.23.5, <0.24.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0.61"
tokio = { version = "1.37", features = ["full"] }
[dev-dependencies]
dotenvy = "0.15"
console = "0.15"
indicatif = "0.17"