unc-sdk-macros 0.9.0

Main macro of the library for writing UNC smart contracts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    if cfg!(feature = "__abi-embed") {
        if option_env!("CARGO_NEAR_ABI_PATH").is_some() {
            println!("cargo:rustc-cfg=feature=\"__abi-embed-checked\"");
        } else {
            println!("cargo:warning=the `__abi-embed` feature flag is private and should not be activated manually, ignoring");
            println!(
                "cargo:warning=\x1b[1mhelp\x1b[0m: consider using https://github.com/utnet-org/cargo-unc"
            );
        }
    }
}