Cargo Features

frontmatter-gen has no features set by default.

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

-----------------------------------------------------------------------------
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

Affects frontmatter-gen::cli

Required by the fmg binary

ssg = cli

Enables dtt ^0.0.8, pulldown-cmark, tera, and url

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, frontmatter-gen::ssg, utils::fs.TempFileTracker, utils::fs.create_temp_file, utils::fs.create_directory, utils::log.LogEntry, utils::log.LogWriter

Features from optional dependencies

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