telegram-webapp-sdk 0.2.15

Telegram WebApp SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    println!("cargo:rustc-check-cfg=cfg(has_doc_cfg)");
    println!("cargo:rustc-check-cfg=cfg(has_doc_auto_cfg)");

    if version_check::supports_feature("doc_cfg").unwrap_or(false) {
        println!("cargo:rustc-cfg=has_doc_cfg");
    }

    if version_check::supports_feature("doc_auto_cfg").unwrap_or(false) {
        println!("cargo:rustc-cfg=has_doc_auto_cfg");
    }
}