# 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 = "openai2" version = "2.0.0" description = "OpenAi client, generated from the OpenAPI spec." homepage = "https://github.com/libninja/openai-rs" documentation = "https://docs.rs/openai" readme = "README.md" license = "MIT" repository = "https://github.com/libninja/openai-rs" [lib] name = "openai" crate-type = ["rlib"] path = "src/lib.rs" doctest = false required-features = [] edition = "2021" [[example]] name = "cancel_fine_tune" path = "examples/cancel_fine_tune.rs" required-features = [] edition = "2021" [[example]] name = "create_answer" path = "examples/create_answer.rs" required-features = [] edition = "2021" [[example]] name = "create_chat_completion" path = "examples/create_chat_completion.rs" required-features = [] edition = "2021" [[example]] name = "create_classification" path = "examples/create_classification.rs" required-features = [] edition = "2021" [[example]] name = "create_completion" path = "examples/create_completion.rs" required-features = [] edition = "2021" [[example]] name = "create_edit" path = "examples/create_edit.rs" required-features = [] edition = "2021" [[example]] name = "create_embedding" path = "examples/create_embedding.rs" required-features = [] edition = "2021" [[example]] name = "create_file" path = "examples/create_file.rs" required-features = [] edition = "2021" [[example]] name = "create_fine_tune" path = "examples/create_fine_tune.rs" required-features = [] edition = "2021" [[example]] name = "create_image" path = "examples/create_image.rs" required-features = [] edition = "2021" [[example]] name = "create_image_edit" path = "examples/create_image_edit.rs" required-features = [] edition = "2021" [[example]] name = "create_image_variation" path = "examples/create_image_variation.rs" required-features = [] edition = "2021" [[example]] name = "create_moderation" path = "examples/create_moderation.rs" required-features = [] edition = "2021" [[example]] name = "create_search" path = "examples/create_search.rs" required-features = [] edition = "2021" [[example]] name = "create_transcription" path = "examples/create_transcription.rs" required-features = [] edition = "2021" [[example]] name = "create_translation" path = "examples/create_translation.rs" required-features = [] edition = "2021" [[example]] name = "delete_file" path = "examples/delete_file.rs" required-features = [] edition = "2021" [[example]] name = "delete_model" path = "examples/delete_model.rs" required-features = [] edition = "2021" [[example]] name = "download_file" path = "examples/download_file.rs" required-features = [] edition = "2021" [[example]] name = "list_engines" path = "examples/list_engines.rs" required-features = [] edition = "2021" [[example]] name = "list_files" path = "examples/list_files.rs" required-features = [] edition = "2021" [[example]] name = "list_fine_tune_events" path = "examples/list_fine_tune_events.rs" required-features = [] edition = "2021" [[example]] name = "list_fine_tunes" path = "examples/list_fine_tunes.rs" required-features = [] edition = "2021" [[example]] name = "list_models" path = "examples/list_models.rs" required-features = [] edition = "2021" [[example]] name = "retrieve_engine" path = "examples/retrieve_engine.rs" required-features = [] edition = "2021" [[example]] name = "retrieve_file" path = "examples/retrieve_file.rs" required-features = [] edition = "2021" [[example]] name = "retrieve_fine_tune" path = "examples/retrieve_fine_tune.rs" required-features = [] edition = "2021" [[example]] name = "retrieve_model" path = "examples/retrieve_model.rs" required-features = [] edition = "2021" [dependencies.futures] version = "0.3.25" [dependencies.httpclient] version = "0.15.0" [dependencies.serde] version = "1.0.137" features = ["derive"] [dependencies.serde_json] version = "1.0.81" [dev-dependencies.tokio] version = "1.18.2" features = ["full"]