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

init-data-rust

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

2 releases

0.1.1 Nov 24, 2024
0.1.0 Nov 24, 2024

#1051 in Web programming

Download history 222/week @ 2024-11-22 20/week @ 2024-11-29

242 downloads per month

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.8–4.5MB
~80K SLoC