-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
84 lines (76 loc) · 2.92 KB
/
Copy pathCargo.toml
File metadata and controls
84 lines (76 loc) · 2.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
[package]
name = "skillpack"
version = "0.13.2"
edition = "2021"
rust-version = "1.85"
authors = ["nordicnode <128633122+nordicnode@users.noreply.github.com>"]
license = "MIT"
description = "Generate, verify, and maintain AI agent guidance (skills, plugins, AGENTS.md) for Claude Code, Cursor, Codex, Copilot, and 10+ AI coding ecosystems — one command turns any CLI or library into an agent-discoverable skill pack."
homepage = "https://github.com/nordicnode/skillpack"
repository = "https://github.com/nordicnode/skillpack"
documentation = "https://docs.rs/skillpack"
keywords = ["cli", "claude", "agent", "skills", "ai-agents"]
categories = ["command-line-utilities", "development-tools"]
readme = "README.md"
exclude = [
"/.claude",
"/.github",
# The 770KB logo stays out of the crate package (crates.io renders README
# images against the repo); only the markdown docs ship.
"/docs/logo.png",
"/scripts",
]
[lib]
name = "skillpack"
path = "src/lib.rs"
[[bin]]
name = "skillpack"
path = "src/main.rs"
[dependencies]
clap = { version = "4.5", features = ["derive"] }
clap_complete = "4"
# Only `Input` is used (interview prompts); every other dialoguer item is
# feature-gated, so default-features = false keeps the build lean.
dialoguer = { version = "0.11", default-features = false }
toml = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
tera = { version = "1", default-features = false }
anyhow = "1"
regex = "1"
tempfile = "3"
notify = "8"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json"] }
[target.'cfg(unix)'.dependencies]
# Process-group kill on timeout: `killpg` reaps the whole tree the child
# spawned (`go run .`, `dotnet run`, `swift run`, etc.) so a hung `--help`
# probe can't orphan grandchildren. The single `unsafe` use is isolated in
# `spawn.rs::kill_tree` and audited; everything else stays `unsafe_code = deny`.
libc = "0.2"
[dev-dependencies]
proptest = "1"
assert_cmd = "2"
predicates = "3"
insta = "1"
# The Edition 2021 default is fine for warnings; we keep profiles lean.
[profile.release]
lto = true
codegen-units = 1
strip = true
[lints.rust]
# Keep the codebase clean in CI without needing a separate clippy config layer.
unsafe_code = "deny"
[lints.clippy]
all = { level = "warn", priority = -1 }
# V1 keeps `pedantic` as `allow`: the codebase is green under `all`, and the
# remaining pedantic nits (let...else refactors, format!-append, bool-count,
# fn-too-long) are stylistic churn that risks behavior for no correctness gain.
# Re-enable pedantic as `warn` once the V1 surface stabilizes and the team has
# time to absorb the ~22 remaining suggestions deliberately.
pedantic = { level = "allow", priority = -1 }
# Allow module_name_injections-style patterns we use; these are pragmatic relaxations.
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"