skill-inject 0.9.0

skill-inject: local semantic auto-injection of agent skills
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "skill-inject"
version = "0.9.0"
authors = ["ski contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "skill-inject: local semantic auto-injection of agent skills"
homepage = "https://github.com/bcmyguest/skill-injector"
documentation = "https://github.com/bcmyguest/skill-injector#readme"
readme = "README.md"
keywords = [
    "claude-code",
    "agents",
    "skills",
    "embeddings",
    "reranker",
]
categories = [
    "command-line-utilities",
    "text-processing",
    "development-tools",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/bcmyguest/skill-injector"

[package.metadata.deb]
maintainer = "ski contributors"
section = "utils"
priority = "optional"
extended-description = "skill-inject (ski): local, model-agnostic semantic auto-injection of agent skills for Claude Code and opencode. Embeds the prompt locally, ranks it against skill descriptions, and injects the matched skill via hooks."
assets = [
    [
    "target/release/ski",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/ski/README.md",
    "644",
],
    [
    "LICENSE",
    "usr/share/doc/ski/LICENSE",
    "644",
],
]

[[package.metadata.generate-rpm.assets]]
source = "target/release/ski"
dest = "/usr/bin/ski"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/ski/README.md"
mode = "644"

[[package.metadata.generate-rpm.assets]]
source = "LICENSE"
dest = "/usr/share/doc/ski/LICENSE"
mode = "644"

[features]
default = ["fastembed"]
fastembed = ["dep:fastembed"]

[lib]
name = "ski"
path = "src/lib.rs"

[[bin]]
name = "ski"
path = "src/main.rs"

[[example]]
name = "eval"
path = "examples/eval.rs"

[[test]]
name = "golden"
path = "tests/golden.rs"

[[test]]
name = "phrase"
path = "tests/phrase.rs"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.fastembed]
version = "4"
features = [
    "ort-download-binaries",
    "hf-hub-rustls-tls",
]
optional = true
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.toml]
version = "0.9"

[profile.release]
opt-level = 3
lto = true
strip = true