[package]
edition = "2024"
name = "asobi"
version = "0.6.1"
authors = ["haru <azusachino@proton.me>"]
build = false
exclude = [
".asobi/",
"memory_export.json",
"tools_list.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A persistent, project-local knowledge graph CLI for AI agents."
readme = "README.md"
keywords = [
"knowledge-graph",
"cli",
"ai-agents",
"persistent-memory",
"rust",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/azusachino/asobi"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
pkg-fmt = "tgz"
bin-dir = "{ bin }{ binary-ext }"
[lib]
name = "asobi"
path = "src/lib.rs"
[[bin]]
name = "asobi"
path = "src/main.rs"
[[test]]
name = "backend_api_contract_test"
path = "tests/backend_api_contract_test.rs"
[[test]]
name = "cli_add_observations_test"
path = "tests/cli_add_observations_test.rs"
[[test]]
name = "cli_agent_features_test"
path = "tests/cli_agent_features_test.rs"
[[test]]
name = "cli_command_coverage_test"
path = "tests/cli_command_coverage_test.rs"
[[test]]
name = "cli_new_with_obs_test"
path = "tests/cli_new_with_obs_test.rs"
[[test]]
name = "cli_search_where_test"
path = "tests/cli_search_where_test.rs"
[[test]]
name = "cli_tasks_test"
path = "tests/cli_tasks_test.rs"
[[test]]
name = "concurrency_test"
path = "tests/concurrency_test.rs"
[[test]]
name = "version_test"
path = "tests/version_test.rs"
[[bench]]
name = "allocations"
path = "benches/allocations.rs"
harness = false
[[bench]]
name = "graph"
path = "benches/graph.rs"
harness = false
[[bench]]
name = "graph_criterion"
path = "benches/graph_criterion.rs"
harness = false
[[bench]]
name = "normalize"
path = "benches/normalize.rs"
harness = false
[[bench]]
name = "skills"
path = "benches/skills.rs"
harness = false
[[bench]]
name = "sql_plans"
path = "benches/sql_plans.rs"
harness = false
[[bench]]
name = "storage"
path = "benches/storage.rs"
harness = false
[[bench]]
name = "tasks"
path = "benches/tasks.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.chrono]
version = "0.4"
features = ["clock"]
default-features = false
[dependencies.clap]
version = "4.6"
features = [
"std",
"derive",
"help",
"usage",
"error-context",
]
default-features = false
[dependencies.clap_complete]
version = "4.6"
[dependencies.rusqlite]
version = "0.40"
features = [
"bundled",
"backup",
]
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dependencies.walkdir]
version = "2"
[dev-dependencies.criterion]
version = "0.7"
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.filetime]
version = "0.2"
[dev-dependencies.tempfile]
version = "3"
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
panic = "abort"
strip = true