[package]
edition = "2021"
rust-version = "1.81"
name = "sz-rust-cli"
version = "1.4.0"
authors = ["SZ-Rust Team"]
build = false
exclude = ["docs/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SZ-Rust 命令行工具:项目脚手架、数据库迁移、调度器管理"
homepage = "https://github.com/ljclz/sz-rust"
readme = "README.md"
keywords = [
"web",
"framework",
"thinkphp",
"axum",
"orm",
]
categories = [
"web-programming",
"web-programming::http-server",
]
license = "Apache-2.0"
repository = "https://github.com/ljclz/sz-rust"
[lib]
name = "sz_rust_cli"
path = "src/lib.rs"
[[bin]]
name = "sz-rust"
path = "src/main.rs"
[[test]]
name = "admin_serve_wiring"
path = "tests/admin_serve_wiring.rs"
[[test]]
name = "cli_db_integration"
path = "tests/cli_db_integration.rs"
[[test]]
name = "plugin_behavior"
path = "tests/plugin_behavior.rs"
[[test]]
name = "serve_data_scope_e2e"
path = "tests/serve_data_scope_e2e.rs"
[[test]]
name = "serve_health_wiring"
path = "tests/serve_health_wiring.rs"
[[test]]
name = "serve_production_wiring"
path = "tests/serve_production_wiring.rs"
[[test]]
name = "serve_tenant_e2e"
path = "tests/serve_tenant_e2e.rs"
[[test]]
name = "serve_tls_wiring"
path = "tests/serve_tls_wiring.rs"
[[test]]
name = "template_test"
path = "tests/template_test.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = [
"macros",
"multipart",
"ws",
"http2",
]
[dependencies.bcrypt]
version = "0.15"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.dialoguer]
version = "0.11"
features = ["fuzzy-select"]
[dependencies.indicatif]
version = "0.17"
[dependencies.notify]
version = "6"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"multipart",
"rustls-tls-native-roots",
"charset",
"http2",
]
default-features = false
[dependencies.serde]
version = "1"
features = [
"derive",
"derive",
]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.serde_yaml]
version = "0.9.34"
[dependencies.sz-orm-mssql]
version = "9.0.0"
[dependencies.sz-orm-oracle]
version = "9.0.0"
[dependencies.sz-orm-sqlx]
version = "9.0.0"
features = [
"oracle",
"mssql",
]
[dependencies.sz-rust-addons-admin]
version = "1.4.0"
[dependencies.sz-rust-addons-loader]
version = "1.4.0"
[dependencies.sz-rust-capability]
version = "1.4.0"
[dependencies.sz-rust-core]
version = "1.4.0"
[dependencies.sz-rust-frontend-codegen]
version = "1.4.0"
[dependencies.sz-rust-marketplace]
version = "1.4.0"
[dependencies.sz-rust-middleware-facade]
version = "1.4.0"
[dependencies.sz-rust-orm-facade]
version = "1.4.0"
[dependencies.tabled]
version = "0.16"
[dependencies.tera]
version = "1.20"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.40"
features = [
"full",
"macros",
"rt-multi-thread",
]
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.http]
version = "1"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.mockito]
version = "1"
[dev-dependencies.sqlx]
version = "0.9"
features = [
"runtime-tokio",
"tls-rustls",
"postgres",
"macros",
"migrate",
"chrono",
"uuid",
]
[dev-dependencies.sz-rust-addons-loader]
version = "1.4.0"
[dev-dependencies.sz-rust-orm-facade]
version = "1.4.0"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tower]
version = "0.5"
features = ["full"]