Files
momentry_core/Cargo.toml

146 lines
2.8 KiB
TOML

[package]
name = "momentry_core"
version = "1.0.0"
edition = "2021"
authors = ["Momentry Team"]
description = "Digital asset management system with video analysis and RAG"
[dependencies]
# Core
anyhow = "1.0"
thiserror = "1.0"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
once_cell = "1.19"
libc = "0.2"
dotenv = "0.15"
# CLI
clap = { version = "4", features = ["derive"] }
# Async
async-trait = "0.1"
futures-util = "0.3"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
regex = "1"
chrono = { version = "0.4", features = ["serde"] }
# UUID
sha2 = "0.10"
hex = "0.4"
uuid = { version = "1.0", features = ["v4"] }
mac_address = "1.1"
# Security
subtle = "2.5"
aes-gcm = "0.10"
base64 = "0.22"
argon2 = "0.5"
jsonwebtoken = "9.3"
# Text processing
jieba-rs = "0.8.1"
ferrous-opencc = { version = "0.3.1", features = ["s2t-conversion", "t2s-conversion"] }
# Cache
moka = { version = "0.12", features = ["future"] }
# Database
redis = { version = "1.0", features = ["tokio-comp", "connection-manager"] }
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "sqlite", "json", "chrono", "uuid"] }
mongodb = { version = "2", features = ["tokio-runtime"] }
bson = { version = "2", features = ["chrono-0_4"] }
qdrant-client = "1.7"
reqwest = { version = "0.12", features = ["json", "gzip"] }
pgvector = { version = "0.3", features = ["sqlx"] }
# HTTP Server
axum = { version = "0.7", features = ["multipart"] }
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "fs"] }
# API Documentation
utoipa = { version = "4", features = ["axum_extras", "chrono", "uuid"] }
utoipa-swagger-ui = { version = "7", features = ["axum"] }
# File watching
notify = "6"
# Logging
env_logger = "0.11"
# Hash
md5 = "0.7"
# TUI
ratatui = "0.28"
crossterm = "0.28"
# Terminal
atty = "0.2"
tokio-util = { version = "0.7.18", features = ["io"] }
# System
[lib]
name = "momentry_core"
path = "src/lib.rs"
[features]
default = []
player = ["sdl2"]
[dependencies.sdl2]
version = "0.35"
optional = true
[[bin]]
name = "momentry"
path = "src/main.rs"
[[bin]]
name = "momentry-cli"
path = "src/bin/cli.rs"
[[bin]]
name = "momentry_player"
path = "src/player/main.rs"
[[bin]]
name = "momentry_playground"
path = "src/playground.rs"
[[bin]]
name = "fix_chunks"
path = "src/bin/fix_chunks.rs"
[[bin]]
name = "migrate_chinese_text"
path = "src/bin/migrate_chinese_text.rs"
[[bin]]
name = "test_bm25_simple"
path = "src/bin/test_bm25_simple.rs"
[[bin]]
name = "integrated_player"
path = "src/bin/integrated_player.rs"
[[bin]]
name = "release"
path = "src/bin/release.rs"
[[bin]]
name = "service"
path = "src/bin/service.rs"
[build-dependencies]
chrono = "0.4"
[dev-dependencies]
tempfile = "3"