[package]
edition = "2024"
rust-version = "1.92"
name = "omamori"
version = "0.11.0"
authors = ["Iori Yoshida <yotta@users.noreply.github.com>"]
build = false
include = [
"src/**/*.rs",
"tests/**/*.rs",
"Cargo.toml",
"Cargo.lock",
"README.md",
"CHANGELOG.md",
"SECURITY.md",
"LICENSE-MIT",
"LICENSE-APACHE",
"config.default.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI Agent's Omamori — protect your system from dangerous commands executed via AI CLI tools"
homepage = "https://github.com/yottayoshida/omamori"
readme = "README.md"
keywords = [
"ai",
"agent",
"safety",
"claude-code",
"cli",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/yottayoshida/omamori"
[lib]
name = "omamori"
path = "src/lib.rs"
bench = false
[[bin]]
name = "omamori"
path = "src/main.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "hook_integration"
path = "tests/hook_integration.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "poc_integrity"
path = "tests/poc_integrity.rs"
[dependencies.hmac]
version = "0.12"
[dependencies.libc]
version = "0.2.186"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.shell-words]
version = "1.1"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
]
[dependencies.toml]
version = "1.1"
[dependencies.toml_edit]
version = "0.25"
[dependencies.trash]
version = "5.2"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.serial_test]
version = "3"