瀏覽代碼

Expose base64 crypto config types

timvisee 7 年之前
父節點
當前提交
c3e82650f9
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      api/src/crypto/b64.rs

+ 7 - 1
api/src/crypto/b64.rs

@@ -6,7 +6,13 @@
 
 extern crate base64;
 
-pub use self::base64::{Config, DecodeError};
+pub use self::base64::{
+    CharacterSet,
+    Config,
+    DecodeError,
+    LineEnding,
+    LineWrap,
+};
 
 /// Encode the given byte slice using base64,
 /// in an URL-safe manner without padding.