#telegram #telegram-mini-apps #init-data #tma

init-data-rust

This library is a Rust port of init-data-golang

2 releases

new 0.1.1 Nov 24, 2024
0.1.0 Nov 24, 2024

#34 in #telegram

MIT license

21KB
421 lines

init-data-rust

init-data-rust is a Rust library that provides utilities for working with Telegram Mini Apps initialization data.

Features

  • Validate and parse Telegram Mini Apps initialization data.
  • Lightweight and easy to integrate into existing projects.

This library is based on and inspired by the original Go implementation found at Telegram-Mini-Apps/init-data-golang.

Installation

Add the following to your Cargo.toml:

[dependencies]
init-data-rust = "0.1.0"

Dependencies

~2.9–4.5MB
~80K SLoC