# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "openai-api" version = "0.1.4" authors = ["Josh Kuhn "] description = "OpenAI API library for rust" homepage = "https://github.com/deontologician/openai-api-rust/" keywords = ["openai", "gpt3"] categories = ["api-bindings", "asynchronous"] license-file = "LICENSE" repository = "https://github.com/deontologician/openai-api-rust/" [dependencies.derive_builder] version = "^0.9.0" [dependencies.log] version = "^0.4.11" [dependencies.serde] version = "^1.0.117" features = ["derive"] [dependencies.serde_json] version = "^1.0" [dependencies.surf] version = "^2.1.0" optional = true default-features = false [dependencies.thiserror] version = "^1.0.22" [dependencies.ureq] version = "^1.5.4" features = ["json", "tls"] optional = true [dev-dependencies.env_logger] version = "0.8.2" [dev-dependencies.maplit] version = "1.0.2" [dev-dependencies.mockito] version = "0.28.0" [dev-dependencies.serde_json] version = "^1.0" [dev-dependencies.tokio] version = "^0.2.5" features = ["full"] [features] async = ["surf/hyper-client"] default = ["sync", "async"] sync = ["ureq"]