[package]
name = "marketing_engine"
version = "0.1.0"
edition = "2021"
description = "Маркетинговый движок для управления кампаниями и контентом"
license = "MIT"
repository = "https://github.com/username/marketing_engine"

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

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

[dependencies]
uuid = { version = "1.8", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
serde = { version = "1.0", features = ["derive"] }
thiserror = "2.0"
anyhow = "1.0"
sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "uuid", "chrono", "macros"] }
dotenvy = "0.15"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = "0.3"
lazy_static = "1.4"

[dev-dependencies]
tempfile = "3.8"
criterion = { version = "0.5", features = ["async_tokio"] }

[[bench]]
name = "marketing_bench"
harness = false
