ruma-push-gateway-api 0.11.0

Types for the endpoints in the Matrix push gateway API.
Documentation
1
2
3
4
5
6
7
8
9
10
use std::env;

fn main() {
    // Set the `ruma_unstable_exhaustive_types` configuration from an environment variable.
    if env::var("RUMA_UNSTABLE_EXHAUSTIVE_TYPES").is_ok() {
        println!("cargo:rustc-cfg=ruma_unstable_exhaustive_types");
    }

    println!("cargo:rerun-if-env-changed=RUMA_UNSTABLE_EXHAUSTIVE_TYPES");
}