langchain-rust 4.6.0

LangChain for Rust, the easiest way to write LLM-based programs in Rust
Documentation
Build #2374064 2025-08-02 22:05:13
# rustc version
rustc 1.90.0-nightly (4b55fe199 2025-08-01)# docs.rs version
docsrs 0.6.0 (e18d034e 2025-07-29)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/langchain-rust-4.6.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/langchain-rust-4.6.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250801-1.90.0-nightly-4b55fe199\", \"--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] 2eb914794a7a8496be073be9533a76449b309831153e4a76ab977a9c3928e732
[INFO] running `Command { std: "docker" "start" "-a" "2eb914794a7a8496be073be9533a76449b309831153e4a76ab977a9c3928e732", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: agent, conversational_chain, conversational_retriever_chain_with_vector_store, conversational_retriever_simple_chain, dynamic_semantic_routes, embedding_azure_open_ai, embedding_fastembed, embedding_mistralai, embedding_ollama, embedding_openai, git_commits, llm_anthropic_claude, llm_azure_open_ai, llm_chain, llm_ollama, llm_openai, open_ai_tools_agent, qa_chain, rcommiter, semantic_routes, sequential_chain, simple_chain, speech2text_openai, sql_chain, streaming_from_chain, vector_store_opensearch, vector_store_postgres, vector_store_qdrant, vector_store_sqlite, vision_llm_chain, wolfram_tool
[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 langchain-rust v4.6.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unclosed HTML tag `Tool`
[INFO] [stderr]   --> src/schemas/tools_openai_like.rs:31:56
[INFO] [stderr]    |
[INFO] [stderr] 31 |     /// Generic function that can be used with both Arc<Tool>, Box<Tool>, and direct references
[INFO] [stderr]    |                                                        ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 31 |     /// Generic function that can be used with both `Arc<Tool>`, Box<Tool>, and direct references
[INFO] [stderr]    |                                                     +         +
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `Tool`
[INFO] [stderr]   --> src/schemas/tools_openai_like.rs:31:67
[INFO] [stderr]    |
[INFO] [stderr] 31 |     /// Generic function that can be used with both Arc<Tool>, Box<Tool>, and direct references
[INFO] [stderr]    |                                                                   ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]    |
[INFO] [stderr] 31 |     /// Generic function that can be used with both Arc<Tool>, `Box<Tool>`, and direct references
[INFO] [stderr]    |                                                                +         +
[INFO] [stderr] 
[INFO] [stderr] warning: `langchain-rust` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.86s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/langchain_rust/index.html
[INFO] running `Command { std: "docker" "inspect" "2eb914794a7a8496be073be9533a76449b309831153e4a76ab977a9c3928e732", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2eb914794a7a8496be073be9533a76449b309831153e4a76ab977a9c3928e732", kill_on_drop: false }`
[INFO] [stdout] 2eb914794a7a8496be073be9533a76449b309831153e4a76ab977a9c3928e732