update sal references
This commit is contained in:
@@ -15,7 +15,7 @@ toml = "0.7.3"
|
|||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
redis = { version = "0.23.0", features = ["tokio-comp"] }
|
redis = { version = "0.23.0", features = ["tokio-comp"] }
|
||||||
tokio = { version = "1.28.0", features = ["full"] }
|
tokio = { version = "1.28.0", features = ["full"] }
|
||||||
sal = { git = "https://git.ourworld.tf/herocode/sal.git" }
|
sal-text = "0.1.0"
|
||||||
chacha20poly1305 = "0.10.1"
|
chacha20poly1305 = "0.10.1"
|
||||||
blake3 = "1.3.1"
|
blake3 = "1.3.1"
|
||||||
csv = "1.1"
|
csv = "1.1"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
use pulldown_cmark::{Parser, Options, html};
|
use pulldown_cmark::{Parser, Options, html};
|
||||||
use sal::text;
|
use sal_text;
|
||||||
|
|
||||||
/// Fix a name to be used as a key
|
/// Fix a name to be used as a key
|
||||||
///
|
///
|
||||||
@@ -15,7 +15,7 @@ use sal::text;
|
|||||||
/// The fixed name
|
/// The fixed name
|
||||||
pub fn name_fix(text: &str) -> String {
|
pub fn name_fix(text: &str) -> String {
|
||||||
// Use the name_fix function from the SAL library
|
// Use the name_fix function from the SAL library
|
||||||
text::name_fix(text)
|
sal_text::name_fix(text)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Convert markdown to HTML
|
/// Convert markdown to HTML
|
||||||
|
Reference in New Issue
Block a user