-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
88 lines (72 loc) · 2.09 KB
/
Copy pathCargo.toml
File metadata and controls
88 lines (72 loc) · 2.09 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
84
85
86
87
88
[package]
name = "kanuni"
version = "0.1.0"
edition = "2021"
authors = ["V-Lawyer Team <opensource@v-lawyer.ai>"]
description = "AI-powered legal intelligence CLI - The Ottoman Edition"
homepage = "https://github.com/v-lawyer/kanuni-cli"
repository = "https://github.com/v-lawyer/kanuni-cli"
license = "MIT OR Apache-2.0"
keywords = ["legal", "ai", "cli", "law", "assistant"]
categories = ["command-line-utilities", "text-processing"]
readme = "README.md"
[[bin]]
name = "kanuni"
path = "src/main.rs"
[dependencies]
# CLI framework
clap = { version = "4.5", features = ["derive", "cargo", "env", "wrap_help"] }
clap_complete = "4.5"
# Async runtime
tokio = { version = "1.38", features = ["full"] }
# HTTP client for API calls
reqwest = { version = "0.12", features = ["json", "stream", "rustls-tls", "multipart"], default-features = false }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Error handling
anyhow = "1.0"
thiserror = "1.0"
# Terminal UI
colored = "2.1"
indicatif = "0.17"
dialoguer = "0.11"
console = "0.15"
crossterm = "0.29"
# Configuration
config = { version = "0.14", features = ["toml"] }
directories = "5.0"
toml = "0.8"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Utils
chrono = { version = "0.4", features = ["serde"] }
chrono-humanize = "0.2"
uuid = { version = "1.8", features = ["v4", "serde"] }
base64 = "0.22"
url = "2.5"
comfy-table = "7.1"
glob = "0.3"
# Security
rpassword = "7.3"
sha2 = "0.10"
# System utils
open = "5.0"
# WebSocket support
tokio-tungstenite = "0.23"
futures-util = "0.3"
backoff = { version = "0.4", features = ["tokio"] }
[dev-dependencies]
mockito = "1.4"
tempfile = "3.10"
assert_cmd = "2.0"
predicates = "3.1"
[workspace]
# This marks this as a standalone project, not part of parent workspace
[profile.release]
opt-level = 3 # Maximum optimization
lto = true # Enable Link Time Optimization
codegen-units = 1 # Single codegen unit for better optimization
strip = true # Strip symbols from binary
panic = "abort" # Smaller binary size