Skip to content
Leilani

Deploy Rust applications with Git.

Push your Cargo project. Leilani builds your code, runs your binaries, and routes HTTPS traffic to your application.

You provide
Your Rust source in Git, Cargo.lock, and a leilani.json file naming the binaries and ports.
Leilani handles
The Cargo release build, running your binaries, HTTPS routing, and collecting application logs.

Your first deployment

  1. Create a workspace

    Open the link sent to your email and set a password. Your workspace gives you the Git remote and credentials for deployment.

  2. Configure your app

    Add leilani.json beside Cargo.toml. This example runs a binary named api listening on 0.0.0.0:3000.

    leilani.json · example
    {
      "packages": {
        "api": { "args": [] }
      },
      "http": {
        "binds": {
          "{workspace-id}.aloha.leilani.dev": 3000
        }
      }
    }
  3. Push to deploy

    Commit your source, Cargo.lock, and leilani.json on main. From that Git repository, add your workspace’s remote and push:

    git remote add leilani \
      https://leilani.dev/git/{workspace-id}
    git push leilani main

    Leilani builds the Cargo workspace in release mode and starts the configured binaries. Git shows the build output. Push to main again to deploy changes.

Before you deploy

Check Linux compatibility
Builds run on Alpine Linux (musl) with --locked. Commit an up-to-date Cargo.lock and check your native dependencies.
Application hosting
Run one or more Rust binaries from your Cargo project. Managed databases are not included.
A console for the next step
Inspect application logs and request metrics, or rebuild the current source. The console is designed for desktop use.
Pricing and resource limits
Contact us for pricing and resource limits before deploying.

Create your account

Verify your email, set a password, and open your workspace. Nothing is deployed until you push your code.

Start with your email

We’ll send a one-time link. It expires in 5 minutes.

Already have a workspace? The same email link signs you in.