Selaa lähdekoodia

Expose base64 crypto config types

timvisee 7 vuotta sitten
vanhempi
commit
c3e82650f9
1 muutettua tiedostoa jossa 7 lisäystä ja 1 poistoa
  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.