[package]
authors.workspace = true
edition.workspace = true
license.workspace = true
name = "typedialog-prov-gen"
repository.workspace = true
version.workspace = true

[dependencies]
# Workspace dependencies
anyhow = { workspace = true }
async-trait = { workspace = true }
chrono = { workspace = true }
clap = { workspace = true }
dirs = { workspace = true }
futures = { workspace = true }
rand = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
tempfile = { workspace = true }
tera = { workspace = true }
thiserror = { workspace = true }
tokio = { workspace = true }
toml = { workspace = true }
tracing = { workspace = true }
tracing-subscriber = { workspace = true }

# Internal dependencies (workspace path)
typedialog-ai = { path = "../typedialog-ai" }
typedialog-core = { path = "../typedialog-core", features = ["ai_backend"] }

# Additional workspace dependencies
cargo_toml = { workspace = true }
regex = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
uuid = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }

[[bin]]
name = "typedialog-prov-gen"
path = "src/main.rs"

  [package.metadata.binstall]
  bin-dir = "bin/{ bin }"
  pkg-fmt = "tgz"
  pkg-url = "{ repo }/releases/download/v{ version }/typedialog-{ target }.tar.gz"

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