Skip to content

Commit 696a005

Browse files
Arcterusalexcrichton
authored andcommitted
serialize: add a few missing pubs to base64
1 parent f5a4837 commit 696a005

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libserialize/base64.rs

Lines changed: 3 additions & 3 deletions
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)