init-data-rs 0.1.4

Telegram Mini Apps init data parser and validator for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#![warn(clippy::pedantic)]
// We ignore this warning because the only literals we use
// are telegram ids, which are not meant to be read
#![allow(clippy::unreadable_literal)]
mod error;
mod model;
mod parse;
mod sign;
mod third_party_validation;
mod validation;

pub use error::InitDataError;
pub use model::*;
pub use parse::parse;
pub use sign::sign;
pub use third_party_validation::validate_third_party;
pub use validation::validate;