# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "chatgpt_api" version = "0.3.0" authors = ["Roberto "] description = "Use ChatGPT easily from Rust. Or from the command line." documentation = "https://docs.rs/chatgpt_api" readme = "README.md" keywords = [ "chatgpt", "openai", "api", "gpt", "gpt3", ] categories = ["api-bindings"] license = "MIT/Apache-2.0" repository = "https://github.com/MrRobb/chatgpt" [lib] name = "chatgpt" path = "src/lib.rs" [[bin]] name = "chatgpt" path = "src/bin.rs" [dependencies.chrono] version = "0.4.23" features = ["serde"] [dependencies.clap] version = "4.1.7" features = ["derive"] [dependencies.dialoguer] version = "0.10.3" [dependencies.eventsource-stream] version = "0.2.3" [dependencies.futures] version = "0.3.26" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.17" [dependencies.pretty_env_logger] version = "0.4.0" [dependencies.regex] version = "1.7.1" [dependencies.reqwest] version = "0.11.14" features = [ "json", "stream", "cookies", ] [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0.38" [dependencies.tokio] version = "1.25" features = ["full"] [dependencies.urlencoding] version = "2.1.2" [dependencies.uuid] version = "1.3.0" features = [ "v4", "serde", ]