# 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"
rust-version = "1.95"
name = "llmenv"
version = "3.1.0"
build = "build.rs"
exclude = [
    "/website",
    "/docs",
    "/.github",
    "/scripts",
    "/proptest-regressions",
    "/crates",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Universal scope-aware environment for AI coding agents"
homepage = "https://phaedrus1992.github.io/llmenv/"
documentation = "https://phaedrus1992.github.io/llmenv/"
readme = "README.md"
keywords = [
    "ai",
    "agents",
    "cli",
    "config",
    "environment",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "config",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/phaedrus1992/llmenv"
resolver = "2"

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

[[bin]]
name = "llmenv"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "cli_benchmark"
path = "benches/cli_benchmark.rs"
harness = false

[dependencies.anstyle]
version = "1.0.14"

[dependencies.anyhow]
version = "1.0.103"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.clap_complete]
version = "4.6.5"

[dependencies.dialoguer]
version = "0.12.0"

[dependencies.directories]
version = "6"

[dependencies.glob]
version = "0.3.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.humantime]
version = "2.3.0"

[dependencies.jiff]
version = "0.2.30"
features = ["std"]
default-features = false

[dependencies.llmenv-config]
version = "3.1.0"

[dependencies.llmenv-git]
version = "3.1.0"

[dependencies.llmenv-paths]
version = "3.1.0"

[dependencies.llmenv-util]
version = "3.1.0"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "rustls",
    "json",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_yaml]
version = "0.10"
package = "serde_yaml_ng"

[dependencies.sha2]
version = "0.11"

[dependencies.tempfile]
version = "3.27"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "process",
    "io-util",
    "sync",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "json",
]

[dependencies.url]
version = "2.5.8"

[dev-dependencies.assert_cmd]
version = "2.2.2"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.insta]
version = "1.47.2"
features = ["yaml"]

[dev-dependencies.predicates]
version = "3.1.4"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.walkdir]
version = "2.5"

[dev-dependencies.wiremock]
version = "0.6.5"

[lints.clippy]
expect_used = "deny"
panic = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
