diff options
| author | Arcterus <Arcterus@mail.com> | 2014-04-03 00:28:40 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-03 13:42:48 -0700 |
| commit | 696a0051819c424db2d074a2cc57bacae4488053 (patch) | |
| tree | d37125593f8543c15b94f93ef183d4326949d3d9 | |
| parent | f5a4837df0885368352d118e1e71f4853bf55bf8 (diff) | |
| download | rust-696a0051819c424db2d074a2cc57bacae4488053.tar.gz rust-696a0051819c424db2d074a2cc57bacae4488053.zip | |
serialize: add a few missing pubs to base64
| -rw-r--r-- | src/libserialize/base64.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserialize/base64.rs b/src/libserialize/base64.rs index 6aad2f5abbf..13e4a010a5e 100644 --- a/src/libserialize/base64.rs +++ b/src/libserialize/base64.rs @@ -23,11 +23,11 @@ pub enum CharacterSet { /// Contains configuration parameters for `to_base64`. pub struct Config { /// Character set to use - char_set: CharacterSet, + pub char_set: CharacterSet, /// True to pad output with `=` characters - pad: bool, + pub pad: bool, /// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping - line_length: Option<uint> + pub line_length: Option<uint> } /// Configuration for RFC 4648 standard base64 encoding |
