telegram_webapp_sdk/
lib.rs

1// SPDX-FileCopyrightText: 2025 RAprogramm <andrey.rozanov.vl@gmail.com>
2// SPDX-License-Identifier: MIT
3
4#![doc = include_str!("../README.md")]
5#![cfg_attr(all(docsrs, has_doc_cfg), feature(doc_cfg))]
6#![cfg_attr(all(docsrs, not(has_doc_cfg), has_doc_auto_cfg), feature(doc_auto_cfg))]
7
8pub mod api;
9pub mod core;
10pub mod logger;
11
12#[cfg(feature = "mock")]
13pub mod mock;
14pub mod utils;
15pub mod webapp;
16#[cfg(feature = "macros")]
17pub use inventory;
18pub use utils::validate_init_data;
19pub use webapp::TelegramWebApp;
20#[cfg(feature = "macros")]
21mod macros;
22#[cfg(feature = "macros")]
23pub mod pages;
24#[cfg(feature = "macros")]
25#[allow(unused_imports)]
26pub use crate::macros::*;
27pub mod router;
28
29#[cfg(feature = "yew")]
30pub mod yew;
31
32#[cfg(feature = "leptos")]
33pub mod leptos;