# 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.94"
name = "cfgd-core"
version = "0.4.0"
authors = ["TJ Smith"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for cfgd — shared types, providers, reconciler, state"
homepage = "https://github.com/tj-smith47/cfgd"
readme = false
keywords = [
    "config",
    "management",
    "gitops",
    "reconciliation",
    "declarative",
]
categories = [
    "config",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/tj-smith47/cfgd"
resolver = "2"

[features]
test-helpers = ["dep:pretty_assertions"]

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

[dependencies.console]
version = "0.15"

[dependencies.directories]
version = "5"

[dependencies.flate2]
version = "1"

[dependencies.git2]
version = "0.19"

[dependencies.glob]
version = "0.3"

[dependencies.hostname]
version = "0.4"

[dependencies.indicatif]
version = "0.17"
features = ["tokio"]

[dependencies.inquire]
version = "0.7"

[dependencies.libc]
version = "0.2"

[dependencies.notify]
version = "7"

[dependencies.notify-rust]
version = "4"

[dependencies.pretty_assertions]
version = "1"
optional = true

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[dependencies.secrecy]
version = "0.10"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.similar]
version = "2"

[dependencies.syntect]
version = "5"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.tera]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

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

[dependencies.unicode-width]
version = "0.2"

[dependencies.ureq]
version = "2"

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false

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

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

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

[dev-dependencies.tracing-test]
version = "0.2"

[target."cfg(not(windows))".dependencies.openssl]
version = "0.10"
features = ["vendored"]

[target."cfg(unix)".dependencies.nix]
version = "0.29"
features = [
    "signal",
    "fs",
    "process",
    "user",
]

[target."cfg(windows)".dependencies.windows-service]
version = "0.7"

[target."cfg(windows)".dependencies.windows-sys]
version = "0.59"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Storage_FileSystem",
    "Win32_System_EventLog",
    "Win32_System_IO",
    "Win32_System_Registry",
    "Win32_System_Threading",
    "Win32_UI_Shell",
]
