Crate el_slugify
source ·Expand description
URL slug generator utility. Fast and efficient. Your string will be transliterated and sanitized for use in URLs.
Created by Ana Bujan ana@eisberg-labs.com, MIT license
Examples
use el_slugify::{slugify, slugify_with_replacement};
assert_eq!(slugify("di su ćevapi?"), "di-su-cevapi");
assert_eq!(slugify_with_replacement("di su ćevapi?", '_'), "di_su_cevapi");
Functions
Converts value to URL friendly slug. Default replacement is with “-”
Converts value to URL friendly slug