TMA Init Data Rust
The crate provides utilities to work with Telegram Mini Apps init data.
Usage
Add this to your Cargo.toml:
[]
= "0.1"
Available functions
parse- allow to parse string with init data intoInitDatastruct.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.