diff --git a/doctree/Cargo.toml b/doctree/Cargo.toml index 7e5adf4..ca284fa 100644 --- a/doctree/Cargo.toml +++ b/doctree/Cargo.toml @@ -15,7 +15,7 @@ toml = "0.7.3" serde = { version = "1.0", features = ["derive"] } redis = { version = "0.23.0", features = ["tokio-comp"] } 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" blake3 = "1.3.1" csv = "1.1" diff --git a/doctree/src/utils.rs b/doctree/src/utils.rs index 31a27c7..d97fe78 100644 --- a/doctree/src/utils.rs +++ b/doctree/src/utils.rs @@ -1,5 +1,5 @@ use pulldown_cmark::{Parser, Options, html}; -use sal::text; +use sal_text; /// Fix a name to be used as a key /// @@ -15,7 +15,7 @@ use sal::text; /// The fixed name pub fn name_fix(text: &str) -> String { // Use the name_fix function from the SAL library - text::name_fix(text) + sal_text::name_fix(text) } /// Convert markdown to HTML