# 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 = "obsidian-forge"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Obsidian vault generator, automation daemon, and graph strengthener"
readme = "README.md"
keywords = [
    "obsidian",
    "vault",
    "pkm",
    "zettelkasten",
    "automation",
]
categories = ["command-line-utilities"]
license = "Apache-2.0"
repository = "https://github.com/epicsagas/obsidian-forge"

[[bin]]
name = "obsidian-forge"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["clock"]

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

[dependencies.dotenv]
version = "0.15"

[dependencies.futures]
version = "0.3"

[dependencies.notify]
version = "8.2"

[dependencies.rayon]
version = "1.8"

[dependencies.regex]
version = "1.10"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
]

[dependencies.walkdir]
version = "2.5"

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

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1
strip = "symbols"

[profile.release.package."*"]
opt-level = 3
codegen-units = 4
