[package]
edition = "2021"
rust-version = "1.81"
name = "sz-rust-visual"
version = "1.4.0"
authors = ["SZ-Rust Team"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SZ-Rust 可视化画布 — Tauri 2.x 桌面应用,SDD 编排 + Capability + RAG + 预览"
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"
[features]
default = []
enterprise = []
[lib]
name = "sz_rust_visual"
path = "src/lib.rs"
[[bin]]
name = "sz-rust-visual"
path = "src/main.rs"
[[test]]
name = "e2e_flow"
path = "tests/e2e_flow.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
features = [
"macros",
"multipart",
"ws",
"http2",
]
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.mime_guess]
version = "2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sz-rust-capability]
version = "1.4.0"
[dependencies.sz-rust-rag]
version = "1.4.0"
[dependencies.tauri]
version = "2"
features = ["unstable"]
[dependencies.tauri-build]
version = "2"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.40"
features = ["full"]
[dependencies.tower-http]
version = "0.7"
features = [
"cors",
"trace",
"compression-gzip",
"timeout",
"fs",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.reqwest]
version = "0.12"
features = [
"json",
"multipart",
"rustls-tls-native-roots",
"charset",
"http2",
]
default-features = false
[build-dependencies.tauri-build]
version = "2"
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage)"]