Skip to content

Commit 5a9f300

Browse files
SamuelSarleCopilot
andauthored
Split installer to installer and registry. (#29)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 0d0e60b commit 5a9f300

11 files changed

Lines changed: 776 additions & 605 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ default-members = [
88
"lib/asimov-module",
99
"lib/asimov-patterns",
1010
"lib/asimov-prompt",
11+
"lib/asimov-registry",
1112
"lib/asimov-runner",
1213
"lib/asimov-server",
1314
"lib/asimov-snapshot",
@@ -50,6 +51,7 @@ asimov-platform = "25.0.0-dev.20"
5051
asimov-prompt = "25.0.0-dev.20"
5152
asimov-protocol = "25.0.0-dev.20"
5253
asimov-proxy = "25.0.0-dev.20"
54+
asimov-registry = "25.0.0-dev.20"
5355
asimov-repository = "25.0.0-dev.20"
5456
asimov-runner = "25.0.0-dev.20"
5557
asimov-runtime = "25.0.0-dev.20"
@@ -67,7 +69,7 @@ async-trait = { version = "0.1", default-features = false }
6769
axum = { version = "0.8", default-features = false, features = ["macros"] }
6870
axum-embed = { version = "0.1", default-features = false }
6971
axum-prometheus = { version = "0.8", default-features = false, features = [
70-
"prometheus",
72+
"prometheus",
7173
] }
7274
axum-test = { version = "17.3", default-features = false }
7375
bon = { version = "3.6", default-features = false }
@@ -182,6 +184,7 @@ asimov-platform = { path = "lib/asimov-platform" }
182184
asimov-prompt = { path = "lib/asimov-prompt" }
183185
asimov-protocol = { path = "lib/asimov-protocol" }
184186
asimov-proxy = { path = "lib/asimov-proxy" }
187+
asimov-registry = { path = "lib/asimov-registry" }
185188
asimov-repository = { path = "lib/asimov-repository" }
186189
asimov-runner = { path = "lib/asimov-runner" }
187190
asimov-runtime = { path = "lib/asimov-runtime" }

lib/asimov-installer/Cargo.toml

Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,41 +16,37 @@ publish.workspace = true
1616

1717
[features]
1818
default = ["all", "std"]
19-
all = ["cli", "tracing", "serde"]
19+
all = ["cli", "tracing"]
2020
cli = ["std", "dep:clientele", "clientele?/clap"]
2121
std = [
22-
"dep:asimov-env",
23-
"dep:getenv",
24-
"clientele?/std",
25-
"dogma/std",
26-
"getenv?/std",
27-
"serde/std",
28-
"serde_json?/std",
29-
"sha2/std",
30-
"slab/std",
31-
"tracing?/std",
32-
"tracing-subscriber?/fmt",
33-
"tracing-subscriber?/std",
34-
"url/std",
22+
"dep:asimov-env",
23+
"dep:getenv",
24+
"clientele?/std",
25+
"dogma/std",
26+
"getenv?/std",
27+
"serde/std",
28+
"serde_json/std",
29+
"sha2/std",
30+
"tracing?/std",
31+
"tracing-subscriber?/fmt",
32+
"tracing-subscriber?/std",
3533
]
3634
unstable = []
3735

3836
# Optional features:
39-
json = ["dep:serde_json"]
40-
serde = ["json", "yaml"]
4137
tracing = ["dep:tracing", "dep:tracing-subscriber", "clientele?/tracing"]
42-
yaml = ["dep:serde_yaml_ng"]
4338

4439
[dependencies]
4540
asimov-module.workspace = true
46-
bon.workspace = true
41+
asimov-registry.workspace = true
4742
dogma.workspace = true
4843
flate2.workspace = true
4944
reqwest.workspace = true
5045
secrecy.workspace = true
5146
serde.workspace = true
47+
serde_json.workspace = true
48+
serde_yaml_ng.workspace = true
5249
sha2.workspace = true
53-
slab.workspace = true
5450
tar.workspace = true
5551
tempfile.workspace = true
5652
thiserror.workspace = true
@@ -61,8 +57,5 @@ zip = { workspace = true, features = ["deflate"] }
6157
asimov-env = { workspace = true, optional = true }
6258
clientele = { workspace = true, optional = true }
6359
getenv = { workspace = true, optional = true }
64-
serde_json = { workspace = true, optional = true }
65-
serde_yaml_ng = { workspace = true, optional = true }
6660
tracing = { workspace = true, optional = true }
6761
tracing-subscriber = { workspace = true, optional = true }
68-
url = { workspace = true, optional = true }

0 commit comments

Comments
 (0)