This repository was archived by the owner on Jul 21, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathCargo.toml
More file actions
124 lines (116 loc) · 4.92 KB
/
Copy pathCargo.toml
File metadata and controls
124 lines (116 loc) · 4.92 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
[workspace]
resolver = "2"
members = ["crates/*", "tasks/*"]
[workspace.package]
authors = ["Yagiz Nizipli <yagiz@nizipli.com"]
description = "Pacquet"
edition = "2024"
homepage = "https://github.com/pnpm/pacquet"
keywords = ["nodejs", "package", "manager", "pnpm", "npm"]
license = "MIT"
repository = "https://github.com/pnpm/pacquet"
[workspace.dependencies]
# Crates
pacquet-cli = { path = "crates/cli" }
pacquet-cmd-shim = { path = "crates/cmd-shim" }
pacquet-fs = { path = "crates/fs" }
pacquet-registry = { path = "crates/registry" }
pacquet-tarball = { path = "crates/tarball" }
pacquet-testing-utils = { path = "crates/testing-utils" }
pacquet-package-manifest = { path = "crates/package-manifest" }
pacquet-package-manager = { path = "crates/package-manager" }
pacquet-package-is-installable = { path = "crates/package-is-installable" }
pacquet-lockfile = { path = "crates/lockfile" }
pacquet-modules-yaml = { path = "crates/modules-yaml" }
pacquet-network = { path = "crates/network" }
pacquet-config = { path = "crates/config" }
pacquet-executor = { path = "crates/executor" }
pacquet-git-fetcher = { path = "crates/git-fetcher" }
pacquet-diagnostics = { path = "crates/diagnostics" }
pacquet-graph-hasher = { path = "crates/graph-hasher" }
pacquet-store-dir = { path = "crates/store-dir" }
pacquet-reporter = { path = "crates/reporter" }
pacquet-patching = { path = "crates/patching" }
pacquet-real-hoist = { path = "crates/real-hoist" }
pacquet-workspace = { path = "crates/workspace" }
# Tasks
pacquet-registry-mock = { path = "tasks/registry-mock" }
# Dependencies
async-recursion = { version = "1.1.1" }
clap = { version = "4", features = ["derive", "string"] }
command-extra = { version = "1.0.0" }
base64 = { version = "0.22.1" }
dashmap = { version = "6.1.0" }
derive_more = { version = "2.1.1", features = ["full"] }
diffy = { version = "0.5.0" }
dunce = { version = "1.0.5" }
home = { version = "0.5.12" }
httpdate = { version = "1.0.3" }
ignore = { version = "0.4.25" }
indexmap = { version = "2.14.0", features = ["serde"] }
insta = { version = "1.47.2", features = ["yaml", "glob", "walkdir"] }
itertools = { version = "0.14.0" }
futures-util = { version = "0.3.32" }
gethostname = { version = "1" }
miette = { version = "7.6.0", features = ["fancy"] }
num_cpus = { version = "1.17.0" }
os_display = { version = "0.1.4" }
reflink-copy = { version = "0.1.29" }
junction = { version = "2.0.0" }
libc = { version = "0.2.185" }
reqwest = { version = "0.13", default-features = false, features = [
"hickory-dns",
"json",
"rustls",
"socks",
"stream",
] }
node-semver = { version = "2.2.0" }
pathdiff = { version = "0.2.3" }
pipe-trait = { version = "0.4.0" }
rayon = { version = "1.12.0" }
rmp-serde = { version = "1.3.0" }
rusqlite = { version = "0.39.0", features = ["bundled"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = { version = "1.0.149", features = ["preserve_order"] }
serde-saphyr = { version = "0.0.26" }
# 0.11 removes the LowerHex impl on Output; revisit after upstream/consumers catch up
sha2 = { version = "0.10.9" }
smart-default = { version = "0.7.1" }
split-first-char = { version = "2.0.1" }
ssri = { version = "9.2.0" }
strum = { version = "0.28.0", features = ["derive"] }
sysinfo = { version = "0.39.1" }
tar = { version = "0.4.45" }
text-block-macros = { version = "0.2.0" }
tracing = { version = "0.1.44" }
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
walkdir = { version = "2.5.0" }
wax = { version = "0.7.0" }
which = { version = "8.0.2" }
zip = { version = "5", default-features = false, features = ["deflate"] }
zune-inflate = { version = "0.2.54" }
# Dev dependencies
assert_cmd = { version = "2.2.1" }
chrono = { version = "0.4.44", default-features = false, features = ["clock"] }
criterion = { version = "0.8.2", features = ["async_tokio"] }
pretty_assertions = { version = "1.4.1" }
project-root = { version = "0.2.2" }
tempfile = { version = "3.27.0" }
mockito = { version = "1.7.2" }
[workspace.metadata.workspaces]
allow_branch = "main"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = "symbols"
debug = false
panic = "abort" # Let it crash and force ourselves to write safe Rust.
# Use the `--profile release-debug` flag to show symbols in release mode.
# e.g. `cargo build --profile release-debug`
[profile.release-debug]
inherits = "release"
strip = false
debug = true