first
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
# Created by: Claude
|
||||
# Date: 2026-01-01
|
||||
# Purpose: Cargo manifest for Mesh Agent (Rust)
|
||||
# Refs: AGENT.md, CLAUDE.md
|
||||
|
||||
[package]
|
||||
name = "mesh-agent"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
authors = ["Mesh Team"]
|
||||
description = "Desktop agent for Mesh P2P communication platform"
|
||||
|
||||
[lib]
|
||||
name = "mesh_agent"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
# Async runtime
|
||||
tokio = { version = "1.35", features = ["full"] }
|
||||
tokio-util = { version = "0.7", features = ["codec"] }
|
||||
|
||||
# QUIC (P2P data plane)
|
||||
quinn = "0.10"
|
||||
rustls = { version = "0.21", features = ["dangerous_configuration"] }
|
||||
rcgen = "0.12"
|
||||
|
||||
# WebSocket (server communication)
|
||||
tokio-tungstenite = "0.21"
|
||||
tungstenite = "0.21"
|
||||
futures-util = "0.3"
|
||||
|
||||
# HTTP client
|
||||
reqwest = { version = "0.11", features = ["json"] }
|
||||
|
||||
# Async traits
|
||||
async-trait = "0.1"
|
||||
|
||||
# CLI arguments
|
||||
clap = { version = "4.4", features = ["derive"] }
|
||||
|
||||
# Serialization
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
|
||||
# Configuration
|
||||
toml = "0.8"
|
||||
|
||||
# Logging
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
|
||||
# Error handling
|
||||
thiserror = "1.0"
|
||||
anyhow = "1.0"
|
||||
|
||||
# UUID generation
|
||||
uuid = { version = "1.6", features = ["v4", "serde"] }
|
||||
|
||||
# Date/time
|
||||
chrono = "0.4"
|
||||
|
||||
# Hashing
|
||||
blake3 = "1.5"
|
||||
|
||||
# Terminal/PTY
|
||||
portable-pty = "0.8"
|
||||
|
||||
# File watching
|
||||
notify = "6.1"
|
||||
|
||||
# Platform-specific
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = { version = "0.3", features = ["winuser", "shellapi"] }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = "3.8"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
strip = true
|
||||
Reference in New Issue
Block a user