Files
home-api/packages/gotify-ws/Cargo.toml
huangzhe 372237ba89 feat(gotify-ws): 实现 SSH 连接信息解析和存储功能
- 新增 SSHConnection 结构体用于解析 Gotify 消息中的 SSH 连接信息
- 实现数据库连接和 SSH 连接信息存储功能
- 添加正则表达式匹配 IPv4 地址
- 移除不必要的测试代码和学生相关模型
- 优化项目结构,增加时间工具模块
2025-08-12 22:34:56 +08:00

23 lines
748 B
TOML

[package]
name = "gotify-ws"
version = "0.1.0"
edition = "2024"
[dependencies]
#diesel = { version = "2.2.12", features = ["r2d2", "serde_json", "sqlite"] }
env_logger = "0.11.8"
futures = "0.3.31"
log = "0.4.27"
#r2d2 = "0.8.10"
#r2d2_sqlite = "0.31.0"
#libsqlite3-sys = { version = "0.35.0", features = ["bundled"] }
# 或如果是通过 rusqlite 依赖:
rusqlite = { version = "0.32.1", features = ["bundled"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.142"
tokio = { version = "1.47.1", features = ["full"] }
tokio-tungstenite = { version = "0.27.0", features = ["native-tls"] }
regex = "1.11.1"
sea-orm = { version = "1.1.14", features = ["sqlx-sqlite", "runtime-tokio-rustls", "macros"] }
chrono = "0.4.41"