[package]
name = "rustelo_content"
version = "0.1.0"
edition = "2021"
description = "Rustelo Framework - Content management system"
license = "MIT"
repository = "https://github.com/your-org/rustelo"

[dependencies]
# Framework dependencies
rustelo_core = { workspace = true }

# Content processing (optional features)
pulldown-cmark = { workspace = true, optional = true }
comrak = { workspace = true, optional = true }
syntect = { workspace = true, optional = true }
gray_matter = { workspace = true }

# File system utilities (always available)
walkdir = { workspace = true }
ignore = { workspace = true }

# Templating (optional)
tera = { workspace = true, optional = true }
handlebars = { workspace = true, optional = true }

# Internationalization (optional)
fluent = { workspace = true, optional = true }
fluent-bundle = { workspace = true, optional = true }
fluent-syntax = { workspace = true, optional = true }
fluent-templates = { workspace = true, optional = true }
unic-langid = { workspace = true, optional = true }

# Serialization
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
toml = { workspace = true }

# Core utilities
uuid = { workspace = true }
chrono = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
tracing = { workspace = true }
regex = { workspace = true }
unicode-normalization = { workspace = true }

[features]
default = ["markdown", "templates", "i18n"]
markdown = ["dep:pulldown-cmark", "dep:comrak", "dep:syntect"]
templates = ["dep:tera", "dep:handlebars"]
i18n = ["dep:fluent", "dep:fluent-bundle", "dep:fluent-syntax", "dep:fluent-templates", "dep:unic-langid"]
syntax-highlighting = ["dep:syntect"]
