-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
129 lines (118 loc) · 4.24 KB
/
Copy pathCargo.toml
File metadata and controls
129 lines (118 loc) · 4.24 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
[package]
name = "devkit"
description = "Local development coordination tools: devkit, devkitd"
edition.workspace = true
version = "0.13.6" # x-release-please-version
license = "GPL-3.0-or-later"
repository = "https://github.com/AbysmalBiscuit/devkit"
# The supervisor daemon needs the port-registry daemon backend; gate its bin on
# the feature so `--no-default-features` builds still produce the other tools.
[[bin]]
name = "devkitd"
path = "src/bin/devkitd/main.rs"
required-features = ["daemon"]
[features]
default = ["daemon"]
daemon = ["devkit-ports/daemon", "devkit-locks/daemon", "devkit-mcp/daemon"]
[dependencies]
anyhow.workspace = true
clap.workspace = true
clap_complete.workspace = true
clap_complete_nushell.workspace = true
serde = { workspace = true }
serde_json.workspace = true
schemars.workspace = true
ureq.workspace = true
rpassword.workspace = true
toml.workspace = true
fd-lock.workspace = true
interprocess.workspace = true
jwalk.workspace = true
chrono.workspace = true
textplots.workspace = true
rgb.workspace = true
indicatif.workspace = true
devkit-config.workspace = true
devkit-common.workspace = true
devkit-ports.workspace = true
devkit-locks.workspace = true
devkit-issue.workspace = true
devkit-mcp.workspace = true
devkit-docs.workspace = true
same-file.workspace = true
[dev-dependencies]
tempfile.workspace = true
# A collapsed diff when the committed JSON schema drifts from the config types.
similar = "2"
devkit-common = { workspace = true, features = ["test-support"] }
same-file.workspace = true
# Used only by the Unix-only supervision integration test (POSIX signals).
[target.'cfg(unix)'.dev-dependencies]
nix.workspace = true
[workspace]
resolver = "3"
members = ["crates/devkit-config", "crates/devkit-common", "crates/devkit-ports", "crates/devkit-locks", "crates/devkit-issue", "crates/devkit-mcp", "crates/devkit-docs"]
[workspace.package]
edition = "2024"
version = "0.1.0" # x-release-please-version
[workspace.dependencies]
anyhow = "1"
clap = { version = "4", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "wrap_help"] }
clap_complete = "4"
clap_complete_nushell = "4"
chrono = { version = "0.4", default-features = false, features = ["std"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
schemars = "1.2"
jsonc-parser = { version = "0.26", features = ["serde"] }
toml = "0.8"
textplots = { version = "0.8", default-features = false }
minijinja = { version = "2", default-features = false, features = ["builtins", "serde"] }
rgb = "0.8"
serde_yaml_ng = "0.10"
fd-lock = "4"
glob = "0.3"
interprocess = { version = "2", default-features = false }
jwalk = "0.9"
nix = { version = "0.29", features = ["signal", "process", "term"] }
same-file = "1"
windows-sys = { version = "0.59", features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_System_Console",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_ProcessStatus",
] }
comfy-table = { version = "7", features = ["custom_styling"] }
anstyle = "1"
indicatif = "0.17"
# Same 0.15 line indicatif resolves to: progress code sets this crate's global
# colour flag, which only works if both link the same console build.
console = "0.15"
supports-hyperlinks = "3"
ureq = { version = "2", features = ["json"] }
rpassword = "7"
rayon = "1.12"
tracing = "0.1"
tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "registry"] }
devkit-config = { path = "crates/devkit-config" }
devkit-common = { path = "crates/devkit-common" }
devkit-ports = { path = "crates/devkit-ports" }
devkit-locks = { path = "crates/devkit-locks" }
devkit-issue = { path = "crates/devkit-issue" }
devkit-mcp = { path = "crates/devkit-mcp" }
toml_edit = { version = "0.22", features = ["serde"] }
devkit-docs = { path = "crates/devkit-docs" }
tempfile = "3"
[profile.dev]
debug = "line-tables-only"
[profile.release]
opt-level = 3 # tools do little compute; keep the registry/diff hot paths fast
lto = "thin" # cross-crate inlining across the workspace libs
codegen-units = 1 # better optimization at the cost of compile time
panic = "abort" # no bin catches panics; drops unwind tables, shrinks the binary
strip = true
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"