[package]
edition = "2024"
name = "doctrine"
version = "0.3.0"
build = false
exclude = [
"/.claude-plugin",
"/.doctrine",
"/.gitignore",
"/clippy.toml",
"/crates",
"/doc",
"/doctrine.png",
"/flake.lock",
"/flake.nix",
"/skills-lock.json",
"/todo.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Project tooling CLI"
readme = "README.md"
keywords = [
"cli",
"project",
]
categories = ["command-line-utilities"]
license = "GPL-3.0-only"
repository = "https://github.com/davidlee/doctrine"
[[bin]]
name = "doctrine"
path = "src/main.rs"
[[example]]
name = "bm25_probe"
path = "examples/bm25_probe.rs"
[[test]]
name = "bm25_probe"
path = "tests/bm25_probe.rs"
[[test]]
name = "e2e_adr_cli_golden"
path = "tests/e2e_adr_cli_golden.rs"
[[test]]
name = "e2e_backlog_filter_alias"
path = "tests/e2e_backlog_filter_alias.rs"
[[test]]
name = "e2e_backlog_list_order_golden"
path = "tests/e2e_backlog_list_order_golden.rs"
[[test]]
name = "e2e_claude_install"
path = "tests/e2e_claude_install.rs"
[[test]]
name = "e2e_coverage_authored_residency"
path = "tests/e2e_coverage_authored_residency.rs"
[[test]]
name = "e2e_coverage_record_golden"
path = "tests/e2e_coverage_record_golden.rs"
[[test]]
name = "e2e_coverage_view_golden"
path = "tests/e2e_coverage_view_golden.rs"
[[test]]
name = "e2e_inspect_golden"
path = "tests/e2e_inspect_golden.rs"
[[test]]
name = "e2e_integrity"
path = "tests/e2e_integrity.rs"
[[test]]
name = "e2e_knowledge_cli_golden"
path = "tests/e2e_knowledge_cli_golden.rs"
[[test]]
name = "e2e_knowledge_install_commit"
path = "tests/e2e_knowledge_install_commit.rs"
[[test]]
name = "e2e_link_unlink"
path = "tests/e2e_link_unlink.rs"
[[test]]
name = "e2e_list_columns_golden"
path = "tests/e2e_list_columns_golden.rs"
[[test]]
name = "e2e_list_conformance"
path = "tests/e2e_list_conformance.rs"
[[test]]
name = "e2e_memory_anchoring"
path = "tests/e2e_memory_anchoring.rs"
[[test]]
name = "e2e_memory_new_alias"
path = "tests/e2e_memory_new_alias.rs"
[[test]]
name = "e2e_memory_record_worktree"
path = "tests/e2e_memory_record_worktree.rs"
[[test]]
name = "e2e_memory_sync"
path = "tests/e2e_memory_sync.rs"
[[test]]
name = "e2e_policy_install_commit"
path = "tests/e2e_policy_install_commit.rs"
[[test]]
name = "e2e_priority_golden"
path = "tests/e2e_priority_golden.rs"
[[test]]
name = "e2e_rec"
path = "tests/e2e_rec.rs"
[[test]]
name = "e2e_relation_migration_storage"
path = "tests/e2e_relation_migration_storage.rs"
[[test]]
name = "e2e_skills_symlink"
path = "tests/e2e_skills_symlink.rs"
[[test]]
name = "e2e_spec_req_add_slug"
path = "tests/e2e_spec_req_add_slug.rs"
[[test]]
name = "e2e_standard_cli_golden"
path = "tests/e2e_standard_cli_golden.rs"
[[test]]
name = "e2e_standard_install_commit"
path = "tests/e2e_standard_install_commit.rs"
[[test]]
name = "e2e_trunk_minting"
path = "tests/e2e_trunk_minting.rs"
[[test]]
name = "e2e_worker_guard"
path = "tests/e2e_worker_guard.rs"
[[test]]
name = "e2e_worktree_branch_point"
path = "tests/e2e_worktree_branch_point.rs"
[[test]]
name = "e2e_worktree_fork"
path = "tests/e2e_worktree_fork.rs"
[[test]]
name = "e2e_worktree_gc"
path = "tests/e2e_worktree_gc.rs"
[[test]]
name = "e2e_worktree_import"
path = "tests/e2e_worktree_import.rs"
[[test]]
name = "e2e_worktree_land"
path = "tests/e2e_worktree_land.rs"
[[test]]
name = "e2e_worktree_provision"
path = "tests/e2e_worktree_provision.rs"
[[test]]
name = "e2e_worktree_stamp"
path = "tests/e2e_worktree_stamp.rs"
[[test]]
name = "e2e_worktree_status_marker"
path = "tests/e2e_worktree_status_marker.rs"
[dependencies.anyhow]
version = "1"
[dependencies.bm25]
version = "2.3.2"
default-features = false
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
]
[dependencies.comfy-table]
version = "7"
features = ["custom_styling"]
default-features = false
[dependencies.cordage]
version = "0.1.1"
[dependencies.crossterm]
version = "0.29"
default-features = false
[dependencies.glob]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.owo-colors]
version = "4"
[dependencies.regex-lite]
version = "0.1"
[dependencies.rust-embed]
version = "8"
features = ["debug-embed"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"formatting",
"parsing",
"serde",
"serde-well-known",
]
[dependencies.toml]
version = "0.8"
[dependencies.toml_edit]
version = "0.22"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v5",
"v7",
"serde",
]
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
default-features = false
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
as_conversions = "deny"
async_yields_async = "deny"
await_holding_lock = "deny"
await_holding_refcell_ref = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
checked_conversions = "deny"
clone_on_ref_ptr = "deny"
dbg_macro = "deny"
default_trait_access = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
enum_glob_use = "deny"
expect_used = "deny"
future_not_send = "deny"
implicit_clone = "deny"
indexing_slicing = "deny"
integer_division = "deny"
large_futures = "deny"
large_stack_arrays = "deny"
large_types_passed_by_value = "deny"
let_underscore_future = "deny"
let_underscore_must_use = "deny"
map_err_ignore = "deny"
missing_const_for_fn = "allow"
module_name_repetitions = "deny"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "deny"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
pub_use = "deny"
redundant_clone = "deny"
return_self_not_must_use = "allow"
same_name_method = "deny"
shadow_unrelated = "deny"
similar_names = "allow"
struct_excessive_bools = "allow"
tests_outside_test_module = "deny"
todo = "deny"
too_many_lines = "allow"
unimplemented = "deny"
unreachable = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
use_debug = "deny"
wildcard_imports = "deny"
[lints.clippy.all]
level = "deny"
priority = -2
[lints.clippy.cargo]
level = "deny"
priority = -2
[lints.clippy.pedantic]
level = "deny"
priority = -2
[lints.rust]
elided_lifetimes_in_paths = "deny"
explicit_outlives_requirements = "deny"
missing_debug_implementations = "deny"
unexpected_cfgs = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "deny"
warnings = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
[lints.rust.unused]
level = "deny"
priority = -1