# 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 = "dm-database-installer"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "达梦数据库安装器 (dm-database-installer) — 单机/集群静默部署工具"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/guangl/dm-database-installer"

[[bin]]
name = "dm-installer"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.async-trait]
version = "0.1"

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

[dependencies.clap_complete]
version = "4.6.5"

[dependencies.futures]
version = "0.3"

[dependencies.indicatif]
version = "0.18.4"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "rustls",
    "stream",
]
default-features = false

[dependencies.rpassword]
version = "7"

[dependencies.russh]
version = "0.61.2"
features = [
    "async-trait",
    "ring",
]
default-features = false

[dependencies.russh-sftp]
version = "2.3.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11.0"

[dependencies.tempfile]
version = "3.27.0"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

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

[dev-dependencies.tracing-test]
version = "0.2"

[profile.dist]
lto = "thin"
inherits = "release"
