Browse Source

Expose base64 crypto config types

timvisee 7 years ago
parent
commit
c3e82650f9
1 changed files with 7 additions and 1 deletions
  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.