ceb9bc8ed7
* maybe_slugify() only does simple sanitation if config.slugify is false * slugify is disabled by default, turn on for backwards-compatibility * First docs changes for optional slugification * Remove # from slugs but not & * Add/fix tests for utf8 slugs * Fix test sites for i18n slugs * fix templates tests for i18n slugs * Rename slugify setting to slugify_paths * Default slugify_paths * Update documentation for slugify_paths * quasi_slugify removes ?, /, # and newlines * Remove forbidden NTFS chars in quasi_slugify() * Slugification forbidden chars can be configured * Remove trailing dot/space in quasi_slugify * Fix NTFS path sanitation * Revert configurable slugification charset * Remove \r for windows newlines and \t tabulations in quasi_slugify() * Update docs for output paths * Replace slugify with slugify_paths * Fix test * Default to not slugifying * Move slugs utils to utils crate * Use slugify_paths for anchors as well
17 lines
280 B
TOML
17 lines
280 B
TOML
[package]
|
|
name = "utils"
|
|
version = "0.1.0"
|
|
authors = ["Vincent Prouillet <prouillet.vincent@gmail.com>"]
|
|
|
|
[dependencies]
|
|
errors = { path = "../errors" }
|
|
tera = "1"
|
|
unicode-segmentation = "1.2"
|
|
walkdir = "2"
|
|
toml = "0.5"
|
|
serde = "1"
|
|
slug = "0.1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|