# 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 = "libopenai" version = "0.1.0" authors = ["Alex Andreba "] exclude = [ ".github", "examples", "media", "Makefile", ] description = "A Rust client for OpenAI's API" readme = "README.md" keywords = [ "chatgpt", "openai", "ai", ] categories = [ "api-bindings", "asynchronous", "multimedia::images", "multimedia::audio", "text-processing", ] license-file = "LICENSE.md" repository = "https://github.com/Aandreba/libopenai" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.anyhow] version = "1.0.69" [dependencies.base64] version = "0.21.0" [dependencies.bytes] version = "1.4.0" [dependencies.chrono] version = "0.4.23" features = ["serde"] [dependencies.docfg] version = "0.1.0" [dependencies.dotenv] version = "0.15.0" [dependencies.elor] version = "1.1.4" features = ["async"] [dependencies.futures] version = "0.3.27" [dependencies.image] version = "0.24.5" [dependencies.pin-project-lite] version = "0.2.9" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.11.14" features = [ "json", "stream", "multipart", ] [dependencies.serde] version = "1.0.155" features = [ "derive", "rc", ] [dependencies.serde_json] version = "1.0.94" [dependencies.srtlib] version = "0.1.3" [dependencies.thiserror] version = "1.0.39" [dependencies.tokio] version = "1.25.0" features = ["full"] [dependencies.tokio-util] version = "0.7.7" [dependencies.tracing] version = "0.1.37" optional = true [dev-dependencies.tracing-subscriber] version = "0.3.16"