repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

remove pup cruft

cb32232d36bce20b2b934d72b3d3b9cf94c8179d

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (3)

+1 / −59 text lines

Diff layout

.system/RULES.md

Modified

+0 / −1 text lines

1212- No make, just, root scripts, package scripts, or non-cargo task runners.
1313- Latest stable Rust, edition 2024.
1414- No numeric MSRV unless release policy creates one.
15- Nightly only for pinned cargo-pup architecture gate.
1615- wasmtime plus WIT components for plugins.
1716- CBOR sessions.
1817- XDG dirs.

Cargo.toml

Modified

+1 / −1 text lines

2323# engines: one owning crate each, app vocabulary at boundaries, one stack per concern.
2424# leaf: small utilities, direct use.
2525# dev: tests and benches only.
26# build tools (cargo-machete, cargo-deny, cargo-audit, wasm-tools, pup):
26# build tools (cargo-machete, cargo-deny, cargo-audit, wasm-tools):
2727# xtask-installed --locked, never crate deps.
2929[workspace.dependencies]

pup.ron

Deleted
deleted file mode 100644

+0 / −57 text lines

1// cargo-pup's source-level counterpart to xtask's stable metadata checks.
2(
3 lints: [
4 Module((
5 name: "hygienic-mod-files",
6 matches: Module(".*"),
7 rules: [MustHaveEmptyModFile(Error)],
8 )),
9 Module((
10 name: "no-wildcard-imports",
11 matches: Module(".*"),
12 rules: [NoWildcardImports(Error)],
13 )),
14 Module((
15 name: "smith-core-import-boundary",
16 matches: Module("^smith_core($|::.*)"),
17 rules: [RestrictImports(
18 allowed_only: None,
19 denied: Some([
20 "^smith_ai($|::.*)",
21 "^smith_tui($|::.*)",
22 "^smith_harness($|::.*)",
23 "^smith_cli($|::.*)",
24 ]),
25 severity: Error,
26 )],
27 )),
28 Module((
29 name: "smith-ai-import-boundary",
30 matches: Module("^smith_ai($|::.*)"),
31 rules: [RestrictImports(
32 allowed_only: None,
33 denied: Some([
34 "^smith_core($|::.*)",
35 "^smith_tui($|::.*)",
36 "^smith_harness($|::.*)",
37 "^smith_cli($|::.*)",
38 ]),
39 severity: Error,
40 )],
41 )),
42 Module((
43 name: "smith-tui-import-boundary",
44 matches: Module("^smith_tui($|::.*)"),
45 rules: [RestrictImports(
46 allowed_only: None,
47 denied: Some([
48 "^smith_core($|::.*)",
49 "^smith_ai($|::.*)",
50 "^smith_harness($|::.*)",
51 "^smith_cli($|::.*)",
52 ]),
53 severity: Error,
54 )],
55 )),
56 ],
57)