open_ai_rust 0.2.14

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 #3000491 2026-03-12 05:33:11

# rustc version rustc 1.96.0-nightly (3b1b0ef4d 2026-03-11)

# docs.rs version docsrs 0.0.0 (a68728e7 2026-03-08 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder4/builds/open_ai_rust-0.2.14/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder4/builds/open_ai_rust-0.2.14/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\", \"-20260311-1.96.0-nightly-3b1b0ef4d\", \"--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] 7f6d6b92c9d93f404849c1669e7adb1f6a7ac93ea92b3acd1780f5c0c393131b [INFO] running `Command { std: "docker" "start" "-a" "7f6d6b92c9d93f404849c1669e7adb1f6a7ac93ea92b3acd1780f5c0c393131b", 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.14 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/open_ai_rust/index.html [INFO] running `Command { std: "docker" "inspect" "7f6d6b92c9d93f404849c1669e7adb1f6a7ac93ea92b3acd1780f5c0c393131b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f6d6b92c9d93f404849c1669e7adb1f6a7ac93ea92b3acd1780f5c0c393131b", kill_on_drop: false }` [INFO] [stdout] 7f6d6b92c9d93f404849c1669e7adb1f6a7ac93ea92b3acd1780f5c0c393131b