Cargo Features

frontmatter-gen has no features set by default.

[dependencies]
frontmatter-gen = { version = "0.0.3", features = ["cli", "ssg", "logging"] }

-----------------------------------------------------------------------------
Features
-----------------------------------------------------------------------------

default

Optional features that can be enabled or disabled.
SSG is not enabled by default

cli ssg?

CLI functionality only

Enables clap

Optional CLI and SSG dependencies - all must have optional = true

Required by the frontmatter_gen binary

ssg = cli

Enables dtt, log, pulldown-cmark, tera, tokio, and url

log:

Optional logging (only included when "logging" feature is enabled)

Affects config::Config.site_description, config::Config.language, config::Config.base_url, config::Config.content_dir, config::Config.output_dir, config::Config.template_dir, config::Config.serve_dir, config::Config.server_enabled, config::Config.server_port, engine::ContentFile, engine::Engine, utils::fs.TempFileTracker, utils::fs.create_temp_file, utils::fs.create_directory, utils::log.LogEntry, utils::log.LogWriter

logging

Optional logging feature

Enables log

Features from optional dependencies

-----------------------------------------------------------------------------
Dependencies
-----------------------------------------------------------------------------