Browse Source

Expose base64 crypto config types

timvisee 7 năm trước cách đây
mục cha
commit
c3e82650f9
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  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.