Cargo Features

vimwiki-core has no features set by default.

[dependencies]
vimwiki-core = { version = "0.1.0", features = ["html", "timekeeper"] }
html = dirs, relative-path, shellexpand, syntect, voca_rs
timekeeper

Affects error::context, vimwiki-core::timekeeper

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

dirs html?

Enables dirs ^3.0.2

HTML-only features

For acquiring the home directory

relative-path html?

Enables relative-path

For support in calculating relative link urls

shellexpand html?

Enables shellexpand ^2.1.0

For translating ~/blah/blah and other paths into complete paths

syntect html?

Enables syntect ^4.5.0

For server-side rendering of code blocks in HTML
NOTE: Using default-fancy so we can compile via webassembly elsewhere

voca_rs html?

Enables voca_rs

For safe HTML escaping