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 wheneverwritings
is added without
somewhere in the dependency tree.default-features = false - 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. - embed-prayers embed-all
-
Embed only Prayers as
LazyLock
statics. -
Embed only Hidden Words as
LazyLock
statics. - embed-meditations embed-all
-
Embed only Prayers and Meditations as
LazyLock
statics.