# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "mothership"
version = "0.0.3"
authors = ["Abdelkader Boudih <oss@seuros.com>"]
build = false
exclude = [
    "gem/*",
    "deployments/*",
    "docker-compose*.yml",
    "Dockerfile*",
    ".env*",
    "scripts/*",
    "docs/*",
    "tests/*",
    "public/*",
    ".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "mothership"
description = "Process supervisor with HTTP exposure - wrap, monitor, and expose your fleet"
homepage = "https://github.com/seuros/mothership"
documentation = "https://docs.rs/mothership"
readme = "README.md"
keywords = [
    "process-manager",
    "supervisor",
    "http",
    "rama",
    "orchestration",
]
categories = [
    "network-programming",
    "command-line-utilities",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/seuros/mothership"

[lib]
name = "mothership"
path = "src/lib.rs"

[[bin]]
name = "mothership"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.breaker-machines]
version = "0.7.1"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.crossterm]
version = "0.29"

[dependencies.dashmap]
version = "6.1"

[dependencies.libc]
version = "0.2"

[dependencies.nix]
version = "0.30"
features = [
    "signal",
    "process",
]

[dependencies.rama]
version = "0.3.0-alpha.3"
features = [
    "http-full",
    "tcp",
]

[dependencies.ratatui]
version = "0.30.0-beta.0"

[dependencies.rcgen]
version = "=0.14.5"

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.state-machines]
version = "0.7.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.47"
features = [
    "full",
    "process",
    "signal",
]

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.wasmtime]
version = "37.0"
features = [
    "async",
    "component-model",
    "cranelift",
]

[dependencies.which]
version = "7.0"

[dev-dependencies.tempfile]
version = "3.23"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
