async-llm 0.1.4

A Rust library for OpenAI-compatible APIs
Documentation
Build #2288251 2025-07-04 14:25:50
# rustc version
rustc 1.90.0-nightly (da58c0513 2025-07-03)# docs.rs version
docsrs 0.6.0 (c1135d19 2025-07-02)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/async-llm-0.1.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/async-llm-0.1.4/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250703-1.90.0-nightly-da58c0513\", \"--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] e4fec9b29f4864e05bfdb093101a3e5086e36ba198c9efce8bfed936203f937c
[INFO] running `Command { std: "docker" "start" "-a" "e4fec9b29f4864e05bfdb093101a3e5086e36ba198c9efce8bfed936203f937c", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: gemini, generate, ollama, openai, openrouter
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting async-llm v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `DONE`
[INFO] [stderr]   --> src/completions/request.rs:81:175
[INFO] [stderr]    |
[INFO] [stderr] 81 | ...available, with the stream terminated by a data: [DONE] message. [Example Python code](https://cookbook.openai.com/examples/how_to_str...
[INFO] [stderr]    |                                                      ^^^^ no item named `DONE` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `DONE`
[INFO] [stderr]    --> src/request/chat.rs:118:304
[INFO] [stderr]     |
[INFO] [stderr] 118 | ...available, with the stream terminated by a data: [DONE] message. Example [Python code](https://cookbook.openai.com/examples/how_to_str...
[INFO] [stderr]     |                                                      ^^^^ no item named `DONE` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `DONE`
[INFO] [stderr]  --> src/types/stream.rs:5:72
[INFO] [stderr]   |
[INFO] [stderr] 5 |     /// If set, an additional chunk will be streamed before the data: [DONE] message. The usage field on this chunk shows the token usage...
[INFO] [stderr]   |                                                                        ^^^^ no item named `DONE` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/completions/request.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | /// https://platform.openai.com/docs/api-reference/completions/create
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 11 | /// <https://platform.openai.com/docs/api-reference/completions/create>
[INFO] [stderr]    |     +                                                                 +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/request/chat.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | /// https://platform.openai.com/docs/api-reference/chat/create
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 18 | /// <https://platform.openai.com/docs/api-reference/chat/create>
[INFO] [stderr]    |     +                                                          +
[INFO] [stderr] 
[INFO] [stderr] warning: `async-llm` (lib doc) generated 5 warnings (run `cargo fix --lib -p async-llm` to apply 2 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.25s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/async_llm/index.html
[INFO] running `Command { std: "docker" "inspect" "e4fec9b29f4864e05bfdb093101a3e5086e36ba198c9efce8bfed936203f937c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4fec9b29f4864e05bfdb093101a3e5086e36ba198c9efce8bfed936203f937c", kill_on_drop: false }`
[INFO] [stdout] e4fec9b29f4864e05bfdb093101a3e5086e36ba198c9efce8bfed936203f937c