Files
udmin/backend/Cargo.toml
ayou dd7857940f feat(flow): 新增流式执行模式与SSE支持
新增流式执行模式,通过SSE实时推送节点执行事件与日志
重构HTTP执行器与中间件,提取通用HTTP客户端组件
优化前端测试面板,支持流式模式切换与实时日志展示
更新依赖版本并修复密码哈希的随机数生成器问题
修复前端节点类型映射问题,确保Code节点表单可用
2025-09-21 01:48:24 +08:00

55 lines
1.7 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "udmin"
version = "0.1.0"
edition = "2024"
default-run = "udmin"
[dependencies]
axum = "0.8.4"
tokio = { version = "1.47.1", features = ["full"] }
tower = "0.5.2"
tower-http = { version = "0.6.6", features = ["cors", "trace"] }
hyper = { version = "1" }
bytes = "1"
serde = { version = "1.0.225", features = ["derive"] }
serde_json = "1.0"
serde_with = "3.14.0"
sea-orm = { version = "1.1.14", features = ["sqlx-mysql", "sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls", "macros"] }
jsonwebtoken = "9.3.1"
argon2 = "0.5.3" # 或升级到 3.0.0(注意 API 可能不兼容)
uuid = { version = "1.11.0", features = ["serde", "v4"] }
chrono = { version = "0.4", features = ["serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
config = "0.15.16"
dotenvy = "0.15.7"
thiserror = "2.0.16"
anyhow = "1.0"
once_cell = "1.19.0"
utoipa = { version = "5.4.0", features = ["axum_extras", "chrono", "uuid"] }
utoipa-swagger-ui = { version = "9.0.2", features = ["axum"] }
sha2 = "0.10"
rand = "0.9.2"
async-trait = "0.1.89"
redis = { version = "0.32.5", features = ["tokio-comp", "connection-manager"] }
petgraph = "0.8.2"
rhai = { version = "1.23.4", features = ["serde", "metadata", "internals"] }
serde_yaml = "0.9"
regex = "1.11.2"
reqwest = { version = "0.12.23", features = ["json", "rustls-tls-native-roots"], default-features = false }
futures = "0.3.31"
percent-encoding = "2.3"
# 新增: QuickJS 运行时用于 JS 执行器(不启用额外特性)
rquickjs = "0.9.0"
# 新增: 用于将 mpsc::Receiver 封装为 StreamSSE
tokio-stream = "0.1.17"
[dependencies.migration]
path = "migration"
[profile.release]
lto = true
codegen-units = 1
[dev-dependencies]
wiremock = "0.6"