# 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" rust-version = "1.66.1" name = "ru-openai" version = "0.1.3" authors = ["Liudao "] description = """ ru-openai is a rust library for openai api. """ homepage = "https://github.com/jimmyseraph/ru-openai" readme = "README.md" keywords = [ "openai", "api", ] categories = ["api-binding"] license = "MIT" repository = "https://github.com/jimmyseraph/ru-openai" [[example]] name = "create_completion" [[example]] name = "create_chat_completion" [[example]] name = "create_image" [[example]] name = "create_chat_completion_stream" [dependencies.futures] version = "0.3.26" [dependencies.mime] version = "0.3.16" [dependencies.reqwest] version = "0.11" features = [ "json", "multipart", "stream", ] [dependencies.reqwest-eventsource] version = "0.4.0" [dependencies.serde] version = "1.0.147" [dependencies.serde_derive] version = "1.0.147" [dependencies.serde_json] version = "1.0.88" [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-stream] version = "0.1.14" [dependencies.tracing] version = "0.1.37" [dependencies.tracing-test] version = "0.2.3" [dependencies.url] version = "2.3.1" [dev-dependencies.dotenv] version = "0.15.0"