Skip to content

Commit e529cb3

Browse files
committed
serialize: add a few missing pubs to base64
1 parent 7bda3df commit e529cb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libserialize/base64.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ pub enum CharacterSet {
2323
/// Contains configuration parameters for `to_base64`.
2424
pub struct Config {
2525
/// Character set to use
26-
char_set: CharacterSet,
26+
pub char_set: CharacterSet,
2727
/// True to pad output with `=` characters
28-
pad: bool,
28+
pub pad: bool,
2929
/// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping
30-
line_length: Option<uint>
30+
pub line_length: Option<uint>
3131
}
3232

3333
/// Configuration for RFC 4648 standard base64 encoding

0 commit comments

Comments
 (0)