| 1 |
[package] |
| 2 |
name = "pom" |
| 3 |
version = "0.3.3" |
| 4 |
edition = "2024" |
| 5 |
license-file = "LICENSE" |
| 6 |
|
| 7 |
[lib] |
| 8 |
name = "pom" |
| 9 |
path = "src/lib.rs" |
| 10 |
|
| 11 |
[[bin]] |
| 12 |
name = "pom" |
| 13 |
path = "src/main.rs" |
| 14 |
|
| 15 |
[dependencies] |
| 16 |
# MCP protocol |
| 17 |
rmcp = { version = "0.1", features = ["server", "transport-io"] } |
| 18 |
|
| 19 |
# CLI |
| 20 |
clap = { version = "4", features = ["derive"] } |
| 21 |
|
| 22 |
# Async runtime |
| 23 |
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-std", "io-util", "process", "signal"] } |
| 24 |
|
| 25 |
# HTTP client |
| 26 |
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } |
| 27 |
|
| 28 |
# HTTP server (API in serve mode) |
| 29 |
axum = { version = "0.8", default-features = false, features = ["json", "tokio", "http1", "query"] } |
| 30 |
|
| 31 |
# Database |
| 32 |
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] } |
| 33 |
|
| 34 |
# Serialization |
| 35 |
serde = { version = "1", features = ["derive"] } |
| 36 |
serde_json = "1" |
| 37 |
schemars = "0.8" |
| 38 |
|
| 39 |
# Config |
| 40 |
toml = "0.8" |
| 41 |
|
| 42 |
# Constant-time comparison |
| 43 |
subtle = "2" |
| 44 |
|
| 45 |
# Errors |
| 46 |
thiserror = "2" |
| 47 |
|
| 48 |
# Time |
| 49 |
chrono = { version = "0.4", features = ["serde"] } |
| 50 |
|
| 51 |
# Paths |
| 52 |
dirs = "6" |
| 53 |
|
| 54 |
# Identity |
| 55 |
uuid = { version = "1", features = ["v4"] } |
| 56 |
hostname = "0.4" |
| 57 |
|
| 58 |
# DNS resolution |
| 59 |
hickory-resolver = "0.25" |
| 60 |
|
| 61 |
# TLS certificate checking |
| 62 |
x509-parser = "0.16" |
| 63 |
tokio-rustls = "0.26" |
| 64 |
rustls-pki-types = "1" |
| 65 |
webpki-roots = "1" |
| 66 |
|
| 67 |
# Logging |
| 68 |
tracing = "0.1" |
| 69 |
tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
| 70 |
|
| 71 |
# Graceful shutdown |
| 72 |
tokio-util = { version = "0.7", features = ["rt"] } |
| 73 |
|
| 74 |
[dev-dependencies] |
| 75 |
tower = { version = "0.5", features = ["util"] } |
| 76 |
http-body-util = "0.1" |
| 77 |
rcgen = "0.14.7" |
| 78 |
|