# 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.94"
name = "lenso-cli"
version = "0.1.25"
build = false
include = [
    "src/**/*.rs",
    "templates/**",
    "README.md",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Lenso command-line interface for scaffolding and operating Lenso backend projects."
homepage = "https://github.com/LioRael/lenso-cli"
readme = "README.md"
keywords = [
    "cli",
    "scaffold",
    "backend",
    "framework",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/LioRael/lenso-cli"

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.include_dir]
version = "0.7"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "rustls",
]
default-features = false

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "tls-rustls-ring-webpki",
    "postgres",
    "json",
    "uuid",
]
default-features = false

[dependencies.tokio]
version = "1.52"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "time",
]

[dependencies.uuid]
version = "1"
features = ["v7"]

[lints.clippy]
all = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
pedantic = "warn"

[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"
