openai-rust 1.5.2

An unofficial library for the OpenAI API
Documentation
Build #2079457 2025-05-05 16:17:06
# rustc version
rustc 1.88.0-nightly (13e879094 2025-05-04)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/openai-rust-1.5.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/openai-rust-1.5.2/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250504-1.88.0-nightly-13e879094\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 16c0eeeb2d85a830a3c4994e37f1d1ec02a45ce960205570dba5d92e72e553bd
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "16c0eeeb2d85a830a3c4994e37f1d1ec02a45ce960205570dba5d92e72e553bd", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated struct `edits::EditArguments`: Use the chat api instead
[INFO] [stderr]    --> src/lib.rs:221:50
[INFO] [stderr]     |
[INFO] [stderr] 221 |     pub async fn create_edit(&self, args: edits::EditArguments) -> Result<edits::EditResponse> {
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `edits::EditResponse`: Use the chat api instead
[INFO] [stderr]    --> src/lib.rs:221:82
[INFO] [stderr]     |
[INFO] [stderr] 221 |     pub async fn create_edit(&self, args: edits::EditArguments) -> Result<edits::EditResponse> {
[INFO] [stderr]     |                                                                                  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `openai-rust` (lib) generated 2 warnings
[INFO] [stderr]     Scraping openai-rust v1.5.2 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting openai-rust v1.5.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.35s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/openai_rust/index.html
[INFO] running `Command { std: "docker" "inspect" "16c0eeeb2d85a830a3c4994e37f1d1ec02a45ce960205570dba5d92e72e553bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16c0eeeb2d85a830a3c4994e37f1d1ec02a45ce960205570dba5d92e72e553bd", kill_on_drop: false }`
[INFO] [stdout] 16c0eeeb2d85a830a3c4994e37f1d1ec02a45ce960205570dba5d92e72e553bd