-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
83 lines (65 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
83 lines (65 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[package]
name = "universal-connector-server"
version = "0.1.0"
edition = "2021"
authors = ["Universal Connector Contributors"]
description = "LSP-based universal plugin server for multi-editor document conversion"
license = "MIT"
[lib]
name = "universal_connector_server"
path = "src/lib.rs"
[[bin]]
name = "universal-connector-server"
path = "src/main.rs"
[dependencies]
# LSP server framework
tower-lsp = "0.20"
tokio = { version = "1.35", features = ["full"] }
# HTTP server
axum = "0.7"
tower = "0.4"
tower-http = { version = "0.5", features = ["cors", "trace"] }
# WebSocket
tokio-tungstenite = "0.21"
futures-util = "0.3"
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Concurrent data structures
dashmap = "5.5"
# Time handling
chrono = { version = "0.4", features = ["serde"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Document conversion (extensible)
pulldown-cmark = "0.9" # Markdown parsing
scraper = "0.18" # HTML parsing
html5ever = "0.26" # HTML serialization
# Extended format support (Platinum RSR)
serde_yaml = "0.9" # YAML support
quick-xml = { version = "0.31", features = ["serialize"] } # XML support
toml = "0.8" # TOML support
# Authentication and security (Platinum RSR)
jsonwebtoken = "10.3" # JWT token handling
bcrypt = "0.15" # Password hashing
# UUID generation
uuid = { version = "1.6", features = ["v4", "serde"] }
[dev-dependencies]
# Testing
tokio-test = "0.4"
tower-test = "0.4"
axum-test = "14.3"
# Benchmarking (optional, install separately if needed)
# criterion = { version = "0.5", features = ["async_tokio"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.dev]
opt-level = 0
debug = true