codetree 0.1.2

AI-native version control system for autonomous agents
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 = "2024"
name = "codetree"
version = "0.1.2"
authors = ["Ying Kit WONG"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-native version control system for autonomous agents"
homepage = "https://codetree.org"
documentation = "https://docs.rs/codetree"
readme = "README.md"
keywords = [
    "vcs",
    "automation",
    "ai-agent",
    "parallel",
    "mcp",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/codetree"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cli = ["dep:clap"]
default = [
    "cli",
    "mcp",
]
mcp = ["cli"]

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

[[bin]]
name = "codetree"
path = "src/main.rs"
required-features = ["cli"]

[[bin]]
name = "codetree-mcp"
path = "src/mcp_main.rs"
required-features = ["mcp"]

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

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

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

[dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true

[dependencies.notify]
version = "7.0"
features = ["macos_fsevent"]
default-features = false

[dependencies.rmcp]
version = "1.2"
features = [
    "server",
    "macros",
    "schemars",
    "transport-io",
]

[dependencies.schemars]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha1]
version = "0.10"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "io-std",
    "fs",
    "process",
    "time",
]

[dependencies.toml]
version = "0.8"

[dev-dependencies.tempfile]
version = "3.8"

[profile.dev]
opt-level = 0
debug = 1
incremental = true

[profile.dev.package."*"]
opt-level = 1

[profile.release]
opt-level = "s"
lto = "thin"
codegen-units = 16
panic = "abort"
strip = true