gemini-ai 0.1.1672

A Rust based Gemini AI API, enabling access to advanced natural language processing and multimodal models.
Documentation
Build #1580052 2024-12-09T14:36:49.136894+00:00
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (29635694 2024-12-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/gemini-ai-0.1.1672/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/gemini-ai-0.1.1672/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--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-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", 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] 3e9712fe6051a90ab077ecebc41bc673e13c79d3f85f106e550f1edd6e157fd3
[INFO] running `Command { std: "docker" "start" "-a" "3e9712fe6051a90ab077ecebc41bc673e13c79d3f85f106e550f1edd6e157fd3", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting gemini-ai v0.1.1672 (/opt/rustwide/workdir)
[INFO] [stderr] warning: variant `GEMINI_1_5_FLASH` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:88:5
[INFO] [stderr]    |
[INFO] [stderr] 88 |     GEMINI_1_5_FLASH,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Gemini1_5Flash`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `GEMINI_1_5_PRO_002` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:89:5
[INFO] [stderr]    |
[INFO] [stderr] 89 |     GEMINI_1_5_PRO_002,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Gemini1_5Pro002`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `GEMINI_1_5_PRO` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:90:5
[INFO] [stderr]    |
[INFO] [stderr] 90 |     GEMINI_1_5_PRO,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Gemini1_5Pro`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `GEMINI_1_5_FLASH_002` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:91:5
[INFO] [stderr]    |
[INFO] [stderr] 91 |     GEMINI_1_5_FLASH_002,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Gemini1_5Flash002`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `GEMINI_1_5_FLASH_8B` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:92:5
[INFO] [stderr]    |
[INFO] [stderr] 92 |     GEMINI_1_5_FLASH_8B,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Gemini1_5Flash8b`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `GEMINI_1_0_PRO` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:93:5
[INFO] [stderr]    |
[INFO] [stderr] 93 |     GEMINI_1_0_PRO,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Gemini1_0Pro`
[INFO] [stderr] 
[INFO] [stderr] warning: `gemini-ai` (lib doc) generated 6 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.46s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-apple-darwin/doc/gemini_ai/index.html
[INFO] running `Command { std: "docker" "inspect" "3e9712fe6051a90ab077ecebc41bc673e13c79d3f85f106e550f1edd6e157fd3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e9712fe6051a90ab077ecebc41bc673e13c79d3f85f106e550f1edd6e157fd3", kill_on_drop: false }`
[INFO] [stdout] 3e9712fe6051a90ab077ecebc41bc673e13c79d3f85f106e550f1edd6e157fd3