# is-railway **Check if the current process is running inside Railway.** [![GitHub](https://img.shields.io/github/license/1chiSensei/is-railway)](https://github.com/1chiSensei/is-railway/blob/main/LICENSE) [![crates.io](https://img.shields.io/crates/v/is-railway?color=orange&logo=rust&style=flat-square)](https://crates.io/crates/is-railway)

Table of Contents

Features

Installation

You can use the following command to install this package. sh cargo install is-railway

Or as a dependency. ```toml

Cargo.toml

[dependencies] is-railway = "1.0.1" ```

Usage

Note: When using as a CLI, it exits with code 0 if running in Railway and 2 if not.

Basic Usage

```rust use is_railway::check;

fn main() { let isrunningon_railway = check();

println!("{}", is_running_on_railway);

} ```

CLI

sh $ is-railway

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Tomio

💻 📖

This project follows the all-contributors specification. Contributions of any kind welcome!