[package] name = "chatgpt_api" version = "0.3.0" authors = ["Roberto "] edition = "2021" description = "Use ChatGPT easily from Rust. Or from the command line." repository = "https://github.com/MrRobb/chatgpt" documentation = "https://docs.rs/chatgpt_api" readme = "README.md" keywords = ["chatgpt", "openai", "api", "gpt", "gpt3"] categories = ["api-bindings"] license = "MIT/Apache-2.0" [lib] name = "chatgpt" path = "src/lib.rs" [[bin]] name = "chatgpt" path = "src/bin.rs" [dependencies] tokio = { version = "1.25", features = ["full"] } reqwest = { version = "0.11.14", features = ["json", "stream", "cookies"] } serde_json = "1.0" uuid = { version = "1.3.0", features = ["v4", "serde"] } serde = "1.0" chrono = { version = "0.4.23", features = ["serde"] } eventsource-stream = "0.2.3" urlencoding = "2.1.2" regex = "1.7.1" lazy_static = "1.4.0" futures = "0.3.26" log = "0.4.17" pretty_env_logger = "0.4.0" clap = { version = "4.1.7", features = ["derive"] } dialoguer = "0.10.3" thiserror = "1.0.38"