Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
143 lines (138 loc) · 6.02 KB
/
Copy pathCargo.toml
File metadata and controls
143 lines (138 loc) · 6.02 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
[workspace]
resolver = "3"
members = [
"crates/cabin",
"crates/cabin-artifact",
"crates/cabin-build",
"crates/cabin-config",
"crates/cabin-core",
"crates/cabin-credentials",
"crates/cabin-diagnostics",
"crates/cabin-driver",
"crates/cabin-env",
"crates/cabin-explain",
"crates/cabin-feature",
"crates/cabin-fmt",
"crates/cabin-fs",
"crates/cabin-index",
"crates/cabin-index-http",
"crates/cabin-lockfile",
"crates/cabin-manifest",
"crates/cabin-ninja",
"crates/cabin-package",
"crates/cabin-publish",
"crates/cabin-registry-api",
"crates/cabin-registry-file",
"crates/cabin-registry-verify",
"crates/cabin-resolver",
"crates/cabin-source-discovery",
"crates/cabin-system-deps",
"crates/cabin-test",
"crates/cabin-tidy",
"crates/cabin-toolchain",
"crates/cabin-vendor",
"crates/cabin-workspace",
# Repository tooling. `xtask-*` crates are `publish = false` maintainer
# tools reached through the aliases in .cargo/config.toml, never part of
# the shipped surface (AGENTS.md, "Repository automation").
"crates/xtask-port-publish",
"crates/xtask-ci",
"crates/xtask-dist",
"crates/xtask-registry-admin",
"crates/xtask-registry-fixtures",
"crates/xtask-registry-guard",
"crates/xtask-registry-smoke",
"crates/xtask-workflow-guard",
]
default-members = ["crates/cabin"]
# The hosted registry service is a standalone wasm32-targeted workspace
# (registry/Cargo.toml); host-side builds and tests never touch it.
exclude = ["registry"]
[workspace.package]
version = "0.17.0"
edition = "2024"
license = "Apache-2.0"
repository = "https://github.com/cabinpkg/cabin"
rust-version = "1.95"
[workspace.dependencies]
anyhow = "1"
assert_cmd = "2"
assert_fs = "1"
atomic-write-file = "0.3"
base64ct = { version = "1", features = ["alloc"] }
camino = { version = "1", features = ["serde1"] }
clap = { version = "4", features = ["derive"] }
humantime = "2"
ignore = "0.4"
icu_normalizer = "2"
# Platform credential stores only; the Linux secret-service backend
# vendors its D-Bus client so builds need no system libdbus.
keyring = { version = "3", default-features = false, features = [
"apple-native",
"windows-native",
"sync-secret-service",
"vendored",
] }
libc = "0.2"
clap_complete = "4"
clap_mangen = "0.3"
crc32fast = "1"
flate2 = "1"
miette = { version = "7", default-features = false }
predicates = "3"
pubgrub = "0.4"
rand = "0.10"
semver = { version = "1", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
sha2 = "0.11"
shlex = "2"
tar = "0.4"
tempfile = "3"
termcolor = "1"
thiserror = "2"
tiny_http = "0.12"
toml = { version = "1.1", features = ["preserve_order"] }
toml_edit = "0.25"
dunce = "1"
etcetera = "0.11"
find-msvc-tools = "0.1"
ureq = { version = "2", default-features = false, features = ["tls"] }
url = "2"
zip = { version = "8", default-features = false, features = ["deflate-flate2"] }
cabin-artifact = { package = "cabinpkg-artifact", path = "crates/cabin-artifact", version = "0.17.0" }
cabin-build = { package = "cabinpkg-build", path = "crates/cabin-build", version = "0.17.0" }
cabin-config = { package = "cabinpkg-config", path = "crates/cabin-config", version = "0.17.0" }
cabin-core = { package = "cabinpkg-core", path = "crates/cabin-core", version = "0.17.0" }
cabin-credentials = { package = "cabinpkg-credentials", path = "crates/cabin-credentials", version = "0.17.0" }
cabin-diagnostics = { package = "cabinpkg-diagnostics", path = "crates/cabin-diagnostics", version = "0.17.0" }
cabin-driver = { package = "cabinpkg-driver", path = "crates/cabin-driver", version = "0.17.0" }
cabin-env = { package = "cabinpkg-env", path = "crates/cabin-env", version = "0.17.0" }
cabin-explain = { package = "cabinpkg-explain", path = "crates/cabin-explain", version = "0.17.0" }
cabin-feature = { package = "cabinpkg-feature", path = "crates/cabin-feature", version = "0.17.0" }
cabin-fmt = { package = "cabinpkg-fmt", path = "crates/cabin-fmt", version = "0.17.0" }
cabin-fs = { package = "cabinpkg-fs", path = "crates/cabin-fs", version = "0.17.0" }
cabin-index = { package = "cabinpkg-index", path = "crates/cabin-index", version = "0.17.0" }
cabin-index-http = { package = "cabinpkg-index-http", path = "crates/cabin-index-http", version = "0.17.0" }
cabin-lockfile = { package = "cabinpkg-lockfile", path = "crates/cabin-lockfile", version = "0.17.0" }
cabin-manifest = { package = "cabinpkg-manifest", path = "crates/cabin-manifest", version = "0.17.0" }
cabin-ninja = { package = "cabinpkg-ninja", path = "crates/cabin-ninja", version = "0.17.0" }
cabin-package = { package = "cabinpkg-package", path = "crates/cabin-package", version = "0.17.0" }
cabin-publish = { package = "cabinpkg-publish", path = "crates/cabin-publish", version = "0.17.0" }
cabin-registry-api = { package = "cabinpkg-registry-api", path = "crates/cabin-registry-api", version = "0.17.0" }
cabin-registry-file = { package = "cabinpkg-registry-file", path = "crates/cabin-registry-file", version = "0.17.0" }
cabin-resolver = { package = "cabinpkg-resolver", path = "crates/cabin-resolver", version = "0.17.0" }
cabin-source-discovery = { package = "cabinpkg-source-discovery", path = "crates/cabin-source-discovery", version = "0.17.0" }
cabin-system-deps = { package = "cabinpkg-system-deps", path = "crates/cabin-system-deps", version = "0.17.0" }
cabin-test = { package = "cabinpkg-test", path = "crates/cabin-test", version = "0.17.0" }
cabin-tidy = { package = "cabinpkg-tidy", path = "crates/cabin-tidy", version = "0.17.0" }
cabin-toolchain = { package = "cabinpkg-toolchain", path = "crates/cabin-toolchain", version = "0.17.0" }
cabin-vendor = { package = "cabinpkg-vendor", path = "crates/cabin-vendor", version = "0.17.0" }
cabin-workspace = { package = "cabinpkg-workspace", path = "crates/cabin-workspace", version = "0.17.0" }
[workspace.lints.clippy]
pedantic = { level = "deny", priority = -1 }
must_use_candidate = "allow"
# `assert!(x.is_empty())` reads better than the `assert_eq!(x, [] as [T; 0])` it suggests.
assert_is_empty = "allow"
[profile.release]
lto = "thin"