[package] name = "openai2" edition = "2021" 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" [dependencies] futures = "0.3.25" httpclient = "0.15.0" serde_json = "1.0.81" [dependencies.serde] version = "1.0.137" features = ["derive"] [dev-dependencies.tokio] version = "1.18.2" features = ["full"] [lib] path = "src/lib.rs" name = "openai" doctest = false edition = "2021" crate-type = ["rlib"] required-features = [] [[example]] path = "examples/cancel_fine_tune.rs" name = "cancel_fine_tune" edition = "2021" required-features = [] [[example]] path = "examples/create_answer.rs" name = "create_answer" edition = "2021" required-features = [] [[example]] path = "examples/create_chat_completion.rs" name = "create_chat_completion" edition = "2021" required-features = [] [[example]] path = "examples/create_classification.rs" name = "create_classification" edition = "2021" required-features = [] [[example]] path = "examples/create_completion.rs" name = "create_completion" edition = "2021" required-features = [] [[example]] path = "examples/create_edit.rs" name = "create_edit" edition = "2021" required-features = [] [[example]] path = "examples/create_embedding.rs" name = "create_embedding" edition = "2021" required-features = [] [[example]] path = "examples/create_file.rs" name = "create_file" edition = "2021" required-features = [] [[example]] path = "examples/create_fine_tune.rs" name = "create_fine_tune" edition = "2021" required-features = [] [[example]] path = "examples/create_image.rs" name = "create_image" edition = "2021" required-features = [] [[example]] path = "examples/create_image_edit.rs" name = "create_image_edit" edition = "2021" required-features = [] [[example]] path = "examples/create_image_variation.rs" name = "create_image_variation" edition = "2021" required-features = [] [[example]] path = "examples/create_moderation.rs" name = "create_moderation" edition = "2021" required-features = [] [[example]] path = "examples/create_search.rs" name = "create_search" edition = "2021" required-features = [] [[example]] path = "examples/create_transcription.rs" name = "create_transcription" edition = "2021" required-features = [] [[example]] path = "examples/create_translation.rs" name = "create_translation" edition = "2021" required-features = [] [[example]] path = "examples/delete_file.rs" name = "delete_file" edition = "2021" required-features = [] [[example]] path = "examples/delete_model.rs" name = "delete_model" edition = "2021" required-features = [] [[example]] path = "examples/download_file.rs" name = "download_file" edition = "2021" required-features = [] [[example]] path = "examples/list_engines.rs" name = "list_engines" edition = "2021" required-features = [] [[example]] path = "examples/list_files.rs" name = "list_files" edition = "2021" required-features = [] [[example]] path = "examples/list_fine_tune_events.rs" name = "list_fine_tune_events" edition = "2021" required-features = [] [[example]] path = "examples/list_fine_tunes.rs" name = "list_fine_tunes" edition = "2021" required-features = [] [[example]] path = "examples/list_models.rs" name = "list_models" edition = "2021" required-features = [] [[example]] path = "examples/retrieve_engine.rs" name = "retrieve_engine" edition = "2021" required-features = [] [[example]] path = "examples/retrieve_file.rs" name = "retrieve_file" edition = "2021" required-features = [] [[example]] path = "examples/retrieve_fine_tune.rs" name = "retrieve_fine_tune" edition = "2021" required-features = [] [[example]] path = "examples/retrieve_model.rs" name = "retrieve_model" edition = "2021" required-features = []