# 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"
rust-version = "1.90"
name = "tonin"
version = "0.6.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "tonin"
description = "Opinionated Rust microservice framework. Kubernetes-native, mesh-secured, MCP-by-default."
homepage = "https://github.com/Rushit/tonin"
readme = "README.md"
keywords = [
    "microservice",
    "grpc",
    "kubernetes",
    "tonic",
    "framework",
]
categories = [
    "network-programming",
    "web-programming",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/Rushit/tonin"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "dep:anyhow",
    "dep:tracing-subscriber",
    "dep:prost-types",
    "dep:serde",
    "dep:serde_json",
    "dep:serde_yaml",
    "dep:toml",
    "dep:thiserror",
    "dep:tera",
    "dep:walkdir",
    "dep:include_dir",
    "dep:tempfile",
    "dep:dialoguer",
    "dep:convert_case",
    "dep:heck",
    "dep:toml_edit",
]
default = ["cli"]

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

[[bin]]
name = "gen-shared-types"
path = "src/bin/gen_shared_types.rs"
required-features = ["cli"]

[[bin]]
name = "tonin"
path = "src/bin/tonin.rs"
required-features = ["cli"]

[dependencies.anyhow]
version = "1"
optional = true

[dependencies.clap]
version = "4"
features = ["derive"]
optional = true

[dependencies.convert_case]
version = "0.6"
optional = true

[dependencies.dialoguer]
version = "0.11"
optional = true
default-features = false

[dependencies.heck]
version = "0.5"
optional = true

[dependencies.include_dir]
version = "0.7"
optional = true

[dependencies.prost-types]
version = "0.13"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.tempfile]
version = "3"
optional = true

[dependencies.tera]
version = "1"
optional = true

[dependencies.thiserror]
version = "1"
optional = true

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.toml_edit]
version = "0.22"
optional = true

[dependencies.tonin-plugin]
version = "0.6.4"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true

[dependencies.walkdir]
version = "2"
optional = true
