tma-init-data 1.0.0

Utilities to work with Telegram Mini Apps init data.
Documentation
Build #1614679 2025-01-09T20:45:14.117292+00:00
# rustc version
rustc 1.86.0-nightly (a580b5c37 2025-01-08)# docs.rs version
docsrs 0.6.0 (9368f26f 2025-01-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/tma-init-data-1.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/tma-init-data-1.0.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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250108-1.86.0-nightly-a580b5c37\", \"--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] bf52d6cb7645e48eb54165bb1478d03748d3b4799e5406478d85e4be49d00eb3
[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" "bf52d6cb7645e48eb54165bb1478d03748d3b4799e5406478d85e4be49d00eb3", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting tma-init-data v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/lib.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | /// https://docs.telegram-mini-apps.com/platform/init-data#parameters-list
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]    = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 26 | /// <https://docs.telegram-mini-apps.com/platform/init-data#parameters-list>
[INFO] [stderr]    |     +                                                                      +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/lib.rs:68:5
[INFO] [stderr]    |
[INFO] [stderr] 68 | /// https://docs.telegram-mini-apps.com/launch-parameters/init-data#user
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]    |
[INFO] [stderr] 68 | /// <https://docs.telegram-mini-apps.com/launch-parameters/init-data#user>
[INFO] [stderr]    |     +                                                                    +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lib.rs:104:5
[INFO] [stderr]     |
[INFO] [stderr] 104 | /// https://docs.telegram-mini-apps.com/platform/init-data#chat
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 104 | /// <https://docs.telegram-mini-apps.com/platform/init-data#chat>
[INFO] [stderr]     |     +                                                           +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lib.rs:259:5
[INFO] [stderr]     |
[INFO] [stderr] 259 | /// https://core.telegram.org/bots/webapps#validating-data-received-via-the-web-app
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 259 | /// <https://core.telegram.org/bots/webapps#validating-data-received-via-the-web-app>
[INFO] [stderr]     |     +                                                                               +
[INFO] [stderr] 
[INFO] [stderr] warning: `tma-init-data` (lib doc) generated 4 warnings (run `cargo fix --lib -p tma-init-data` to apply 4 suggestions)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/tma_init_data/index.html
[INFO] running `Command { std: "docker" "inspect" "bf52d6cb7645e48eb54165bb1478d03748d3b4799e5406478d85e4be49d00eb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bf52d6cb7645e48eb54165bb1478d03748d3b4799e5406478d85e4be49d00eb3", kill_on_drop: false }`
[INFO] [stdout] bf52d6cb7645e48eb54165bb1478d03748d3b4799e5406478d85e4be49d00eb3