gemini-ai 0.1.11

A Rust based Gemini AI API, enabling access to advanced natural language processing and multimodal models.
Documentation
Build #1559169 2024-11-21T07:09:36.617789+00:00
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/gemini-ai-0.1.11/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/gemini-ai-0.1.11/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "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-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] ec97e8e8f6c45dd4633eb8b0bab2e8f0d03b05d44c04812ac55e87996b47ab50
[INFO] running `Command { std: "docker" "start" "-a" "ec97e8e8f6c45dd4633eb8b0bab2e8f0d03b05d44c04812ac55e87996b47ab50", 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.11 (/opt/rustwide/workdir)
[INFO] [stderr] warning: variant `GEMINI_1_5_FLASH` should have an upper camel case name
[INFO] [stderr]   --> src/lib.rs:70:5
[INFO] [stderr]    |
[INFO] [stderr] 70 |     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:71:5
[INFO] [stderr]    |
[INFO] [stderr] 71 |     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:72:5
[INFO] [stderr]    |
[INFO] [stderr] 72 |     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:73:5
[INFO] [stderr]    |
[INFO] [stderr] 73 |     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:74:5
[INFO] [stderr]    |
[INFO] [stderr] 74 |     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:75:5
[INFO] [stderr]    |
[INFO] [stderr] 75 |     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.44s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/gemini_ai/index.html
[INFO] running `Command { std: "docker" "inspect" "ec97e8e8f6c45dd4633eb8b0bab2e8f0d03b05d44c04812ac55e87996b47ab50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec97e8e8f6c45dd4633eb8b0bab2e8f0d03b05d44c04812ac55e87996b47ab50", kill_on_drop: false }`
[INFO] [stdout] ec97e8e8f6c45dd4633eb8b0bab2e8f0d03b05d44c04812ac55e87996b47ab50