# 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.85.0"
name = "codefidence"
version = "0.3.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Auto-managed project knowledge wiki for AI-assisted development"
homepage = "https://github.com/agencedebord/codefidence"
readme = "README.md"
keywords = [
    "wiki",
    "documentation",
    "cli",
    "knowledge-base",
    "ai",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/agencedebord/codefidence"

[features]
default = []
notion = [
    "dep:reqwest",
    "dep:futures",
]

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "serde",
]
default-features = false

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.console]
version = "0.15"

[dependencies.dialoguer]
version = "0.11"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.glob]
version = "0.3"

[dependencies.gray_matter]
version = "0.2"

[dependencies.ignore]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yml]
version = "0.0.12"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dependencies.walkdir]
version = "2"

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

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

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

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

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

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
strip = true
