open_ai_rust 0.2.16

Open AI SDK for Rust. To my knowledge, the only fully comprehensive and up-to-date Open AI crate built in and for Rust. Provides both low-level control with high level ergonomics for doing cool things (the whole reason we use Rust in the first place). Is maintained and has been used and tested in products used in production.
Documentation
Build #3059596 2026-03-25 07:39:08

# rustc version rustc 1.96.0-nightly (362211dc2 2026-03-24)

# docs.rs version docsrs 0.0.0 (da7690ee 2026-03-15 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/open_ai_rust-0.2.16/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/open_ai_rust-0.2.16/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder4/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260324-1.96.0-nightly-362211dc2\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 012347d4ed44682066b67b460f17bb864698a6986dd5566a9bec4a818f9f5ed2 [INFO] running `Command { std: "docker" "start" "-a" "012347d4ed44682066b67b460f17bb864698a6986dd5566a9bec4a818f9f5ed2", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting open_ai_rust v0.2.16 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/open_ai_rust/index.html [INFO] running `Command { std: "docker" "inspect" "012347d4ed44682066b67b460f17bb864698a6986dd5566a9bec4a818f9f5ed2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012347d4ed44682066b67b460f17bb864698a6986dd5566a9bec4a818f9f5ed2", kill_on_drop: false }` [INFO] [stdout] 012347d4ed44682066b67b460f17bb864698a6986dd5566a9bec4a818f9f5ed2