# 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 = "openai-rust" version = "1.5.2" authors = ["LevitatingBusinessMan"] description = "An unofficial library for the OpenAI API" documentation = "https://docs.rs/openai-rust" readme = "README.md" keywords = [ "openai", "gpt", "library", "api", "async", ] categories = ["api-bindings"] license = "MIT" repository = "https://github.com/LevitatingBusinessMan/openai-rust" [[example]] name = "chat" path = "examples/chat_example.rs" doc-scrape-examples = true [[example]] name = "chat_stream" path = "examples/chat_stream_example.rs" [dependencies.anyhow] version = "1.0.70" [dependencies.bytes] version = "1.4.0" [dependencies.futures-core] version = "0.3.29" [dependencies.futures-util] version = "0.3.27" [dependencies.lazy_static] version = "1.4.0" [dependencies.reqwest] version = "0.11.14" features = [ "json", "stream", ] [dependencies.serde] version = "1.0.157" features = ["derive"] [dependencies.serde_json] version = "1.0.94" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [dev-dependencies.tokio-test] version = "0.4"