tma-init-data

Crates.iotma-init-data
lib.rstma-init-data
version0.1.1
sourcesrc
created_at2024-11-04 17:00:29.042223
updated_at2024-11-04 17:06:36.493023
descriptionUtilities to work with Telegram Mini Apps init data.
homepage
repository
max_upload_size
id1435313
size22,946
Vassiliy Kuzenkov (bondiano)

documentation

README

TMA Init Data Rust

The crate provides utilities to work with Telegram Mini Apps init data.

Crates.io codecov

Available functions

  • parse - allow to parse string with init data into InitData struct.
  • validate - validates passed init data.
  • sign - signs hashmap with the passed token.
  • sign_query_string - signs query string with the passed token.

Implementation was taken from init-data-golang.

Commit count: 0

cargo fmt