Cargo Features

[dependencies]
writings = { version = "0.1.0", default-features = false, features = ["indicium", "poem", "utoipa", "embed-all", "embed-gleanings", "embed-prayers", "embed-hidden-words", "embed-meditations"] }
default = embed-all

The embed-all feature is set by default whenever writings is added without default-features = false somewhere in the dependency tree.

indicium

Derive indicium::simple::Indexable for each type of Writings, removing diacritics from .strings() for easier search.

Enables diacritics and indicium

poem

Derive poem_openapi::Object, Enum, and Union types for use with poem crate.

Enables poem-openapi

utoipa

Derive utoipa::ToSchema for types.

Enables utoipa

embed-all default = embed-gleanings, embed-hidden-words, embed-meditations, embed-prayers

Embed all Writings as LazyLock statics.

embed-gleanings embed-all

Embed only Gleanings as LazyLock statics.

Enables regex and scraper

embed-prayers embed-all

Embed only Prayers as LazyLock statics.

Enables regex and scraper

embed-hidden-words embed-all

Embed only Hidden Words as LazyLock statics.

Enables regex and scraper

embed-meditations embed-all

Embed only Prayers and Meditations as LazyLock statics.

Enables regex and scraper