Thomas 1 年之前
父節點
當前提交
54a943fe33
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -5,7 +5,7 @@ use flate2::Compression;
 use std::io::prelude::*;
 
 /// Compress string and encode in a URL safe form
-fn compress_string(s: &str) -> String {
+pub fn compress_string(s: &str) -> String {
     // Convert string to bytes
     let bytes = s.as_bytes();