Table of Contents
You can use the following command to install this package.
sh
cargo install is-railway
Or as a dependency. ```toml
[dependencies] is-railway = "1.0.1" ```
Note: When using as a CLI, it exits with code 0 if running in Railway and 2 if not.
```rust use is_railway::check;
fn main() { let isrunningon_railway = check();
println!("{}", is_running_on_railway);
} ```
sh
$ is-railway
Thanks goes to these wonderful people (emoji key):
Tomio 💻 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!