-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
174 lines (152 loc) · 4.53 KB
/
Cargo.toml
File metadata and controls
174 lines (152 loc) · 4.53 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[workspace]
resolver = "2"
members = [
"crates/lpm-cli",
"crates/lpm-common",
"crates/lpm-auth",
"crates/lpm-semver",
"crates/lpm-registry",
"crates/lpm-resolver",
"crates/lpm-store",
"crates/lpm-linker",
"crates/lpm-lockfile",
"crates/lpm-extractor",
"crates/lpm-workspace",
"crates/lpm-security",
"crates/lpm-sandbox",
"crates/lpm-runner",
"crates/lpm-runtime",
"crates/lpm-task",
"crates/lpm-plugin",
"crates/lpm-vault",
"crates/lpm-cert",
"crates/lpm-network",
"crates/lpm-tunnel",
"crates/lpm-dashboard",
"crates/lpm-inspect",
"crates/lpm-migrate",
"crates/lpm-env",
"crates/lpm-global",
"tests/integration",
"tests/workflows",
]
# Root `cargo build/check/clippy` should target the shipped CLI by default.
# CI uses explicit `--workspace` when it wants full coverage, but local root
# commands should not pay for test-only workspace members.
default-members = ["crates/lpm-cli"]
[workspace.package]
version = "0.31.0"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/lpm-dev/rust-client"
[workspace.dependencies]
# Internal crates
lpm-common = { path = "crates/lpm-common" }
lpm-auth = { path = "crates/lpm-auth" }
lpm-semver = { path = "crates/lpm-semver" }
lpm-registry = { path = "crates/lpm-registry" }
lpm-resolver = { path = "crates/lpm-resolver" }
lpm-store = { path = "crates/lpm-store" }
lpm-linker = { path = "crates/lpm-linker" }
lpm-lockfile = { path = "crates/lpm-lockfile" }
lpm-extractor = { path = "crates/lpm-extractor" }
lpm-workspace = { path = "crates/lpm-workspace" }
lpm-security = { path = "crates/lpm-security" }
lpm-sandbox = { path = "crates/lpm-sandbox" }
lpm-runner = { path = "crates/lpm-runner" }
lpm-runtime = { path = "crates/lpm-runtime" }
lpm-task = { path = "crates/lpm-task" }
lpm-plugin = { path = "crates/lpm-plugin" }
lpm-vault = { path = "crates/lpm-vault" }
lpm-cert = { path = "crates/lpm-cert" }
lpm-network = { path = "crates/lpm-network" }
lpm-tunnel = { path = "crates/lpm-tunnel" }
lpm-dashboard = { path = "crates/lpm-dashboard" }
lpm-inspect = { path = "crates/lpm-inspect" }
lpm-migrate = { path = "crates/lpm-migrate" }
lpm-env = { path = "crates/lpm-env" }
lpm-global = { path = "crates/lpm-global" }
# Async runtime
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.7", features = ["io", "io-util"] }
# HTTP
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream", "http2", "gzip", "brotli", "zstd"], default-features = false }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
# Error handling
thiserror = "2"
# Hashing & crypto
sha2 = "0.10"
base64 = "0.22"
x25519-dalek = { version = "2", features = ["static_secrets"] }
hkdf = "0.12"
hmac = "0.12"
# Semver
node-semver = "2"
# CLI
clap = { version = "4", features = ["derive", "env"] }
clap_complete = "4"
# Error display
miette = { version = "7", features = ["fancy"] }
# Terminal
owo-colors = "4"
indicatif = "0.17"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Parallelism
rayon = "1"
# Resolution
pubgrub = "0.3"
version-ranges = "0.1"
# Lockfile
toml = "0.8"
memmap2 = "0.9"
# Auth / secure storage
keyring = "3"
aes-gcm = "0.10"
scrypt = "0.11"
rand = "0.8"
dirs = "6"
fd-lock = "4"
secrecy = "0.10"
p256 = { version = "0.13", features = ["ecdsa", "ecdh", "pem"] }
elliptic-curve = { version = "0.13", features = ["sec1"] }
ecdsa = { version = "0.16", features = ["signing", "verifying", "der"] }
# Interactive prompts & terminal UI
cliclack = "0.3"
# Browser open
open = "5"
# Tarball creation (publish) + plugin ZIP support
tar = "0.4"
flate2 = { version = "1", features = ["zlib-rs"], default-features = false }
zip = "2"
sha1 = "0.10"
glob = "0.3"
ignore = "0.4"
urlencoding = "2"
strsim = "0.11"
futures = "0.3"
pathdiff = "0.2"
signal-hook = "0.3"
parking_lot = "0.12"
dashmap = "6"
chrono = { version = "0.4", features = ["serde"] }
crc32fast = "1.4"
hex = "0.4"
rmp-serde = "1"
filetime = "0.2"
# Phase 32 Phase 6: unified-diff generation + strict apply for `lpm patch`.
# Pure-Rust, GNU patch format, no fuzzy matching by default.
diffy = "0.4"
# Phase 46 P2: POSIX shell tokenizer for the Layer 1 static-gate
# classifier. Pure-Rust, no dependencies, understands standard shell
# quoting so `lpm-security::static_gate` can split script bodies into
# argv without spawning a real shell.
shlex = "1.3"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true