rust-webvr-api 0.17.0

Safe rust API that provides a way to interact with Virtual Reality headsets and integration with vendor specific SDKs like OpenVR and Oculus. The API is inspired on the easy to use WebVR API but adapted to Rust design patterns
Documentation
Build #1957295 2025-04-05 22:18:16
# rustc version
rustc 1.88.0-nightly (17ffbc81a 2025-04-04)# docs.rs version
docsrs 0.6.0 (ee9a3fe6 2025-03-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rust-webvr-api-0.17.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rust-webvr-api-0.17.0/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250404-1.88.0-nightly-17ffbc81a\", \"--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] 25c61ba31f6319394d1da909cc1231bbd30c91b6512b43306dca26d9233cb693
[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" "25c61ba31f6319394d1da909cc1231bbd30c91b6512b43306dca26d9233cb693", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting rust-webvr-api v0.17.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `x,y,w,h`
[INFO] [stderr]  --> src/vr_layer.rs:9:77
[INFO] [stderr]   |
[INFO] [stderr] 9 |     /// UVs defining the texture bounds to present to the eye in UV space: [x,y,w,h]
[INFO] [stderr]   |                                                                             ^^^^^^^ no item named `x,y,w,h` 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 `x,y,w,h`
[INFO] [stderr]   --> src/vr_layer.rs:13:77
[INFO] [stderr]    |
[INFO] [stderr] 13 |     /// UVs defining the texture bounds to present to the eye in UV space: [x,y,w,h]
[INFO] [stderr]    |                                                                             ^^^^^^^ no item named `x,y,w,h` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-webvr-api` (lib doc) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rust_webvr_api/index.html
[INFO] running `Command { std: "docker" "inspect" "25c61ba31f6319394d1da909cc1231bbd30c91b6512b43306dca26d9233cb693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25c61ba31f6319394d1da909cc1231bbd30c91b6512b43306dca26d9233cb693", kill_on_drop: false }`
[INFO] [stdout] 25c61ba31f6319394d1da909cc1231bbd30c91b6512b43306dca26d9233cb693