mlua 0.9.2

High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau with async/await features and support of writing native Lua modules in Rust.
Documentation
Build #1051770 2023-12-08 16:01:57

# rustc version rustc 1.76.0-nightly (503e12932 2023-12-07)

# docs.rs version docsrs 0.6.0 (863517b5 2023-12-08)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/mlua-0.9.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/mlua-0.9.2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "lua54 vendored async send serialize macros parking_lot unstable" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20231207-1.76.0-nightly-503e12932\", \"--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] [stdout] 2f0ecfae118c27f5ae4358509bc08e8f3a206410e83737953d2c7bff21d2635e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2f0ecfae118c27f5ae4358509bc08e8f3a206410e83737953d2c7bff21d2635e", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: async_http_client, async_http_reqwest, async_http_server, async_tcp_server, guided_tour, serialize, userdata, repl [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 mlua v0.9.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `NULL` [INFO] [stderr] --> src/value.rs:176:44 [INFO] [stderr] | [INFO] [stderr] 176 | /// Returns `true` if the value is a [`NULL`]. [INFO] [stderr] | ^^^^ no item named `NULL` 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: `str` is both a module and a primitive type [INFO] [stderr] --> src/value.rs:333:29 [INFO] [stderr] | [INFO] [stderr] 333 | /// Cast the value to [`str`]. [INFO] [stderr] | ^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the module, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 333 | /// Cast the value to [`mod@str`]. [INFO] [stderr] | ++++ [INFO] [stderr] help: to link to the primitive type, prefix with `prim@` [INFO] [stderr] | [INFO] [stderr] 333 | /// Cast the value to [`prim@str`]. [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `str` is both a module and a primitive type [INFO] [stderr] --> src/value.rs:335:66 [INFO] [stderr] | [INFO] [stderr] 335 | /// If the value is a Lua [`String`], try to convert it to [`str`] or return `None` otherwise. [INFO] [stderr] | ^^^ ambiguous link [INFO] [stderr] | [INFO] [stderr] help: to link to the module, prefix with `mod@` [INFO] [stderr] | [INFO] [stderr] 335 | /// If the value is a Lua [`String`], try to convert it to [`mod@str`] or return `None` otherwise. [INFO] [stderr] | ++++ [INFO] [stderr] help: to link to the primitive type, prefix with `prim@` [INFO] [stderr] | [INFO] [stderr] 335 | /// If the value is a Lua [`String`], try to convert it to [`prim@str`] or return `None` otherwise. [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `mlua` (lib doc) generated 3 warnings [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.92s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/mlua/index.html [INFO] running `Command { std: "docker" "inspect" "2f0ecfae118c27f5ae4358509bc08e8f3a206410e83737953d2c7bff21d2635e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f0ecfae118c27f5ae4358509bc08e8f3a206410e83737953d2c7bff21d2635e", kill_on_drop: false }` [INFO] [stdout] 2f0ecfae118c27f5ae4358509bc08e8f3a206410e83737953d2c7bff21d2635e