7 releases (stable)
new 1.2.0 | Jan 24, 2025 |
---|---|
1.1.2 | Jan 22, 2025 |
0.1.1 | Nov 4, 2024 |
#721 in Network programming
810 downloads per month
19KB
272 lines
TMA Init Data Rust
The crate provides utilities to work with Telegram Mini Apps init data.
Available functions
parse
- allow to parse string with init data intoInitData
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.
Dependencies
~3–4.5MB
~86K SLoC