[package]
edition = "2021"
rust-version = "1.81"
name = "sz-rust-capability"
version = "1.2.0"
authors = ["SZ-Rust Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SZ-Rust Capability Registry — 统一能力注册表,将 Skills 与 Plugins 抽象为统一的 Capability 接口"
homepage = "https://github.com/ljclz/sz-rust"
readme = "README.md"
keywords = [
"capability",
"registry",
"ai",
"plugin",
"skill",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/ljclz/sz-rust"
[package.metadata.cargo-udeps.ignore]
development = ["proptest"]
[lib]
name = "sz_rust_capability"
path = "src/lib.rs"
[[test]]
name = "permission_test"
path = "tests/permission_test.rs"
[[bench]]
name = "cap_bench"
path = "benches/cap_bench.rs"
harness = false
[[bench]]
name = "capability_bench"
path = "benches/capability_bench.rs"
harness = false
[dependencies.async-trait]
version = "0.1"
[dependencies.parking_lot]
version = "0.12"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dependencies.sz-rust-mcp]
version = "1.2.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.40"
features = ["full"]
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
features = ["preserve_order"]
[dev-dependencies.tokio]
version = "1.40"
features = [
"full",
"macros",
"rt-multi-thread",
]
[lints.rust]
unsafe_code = "forbid"