We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bda3df commit e529cb3Copy full SHA for e529cb3
src/libserialize/base64.rs
@@ -23,11 +23,11 @@ pub enum CharacterSet {
23
/// Contains configuration parameters for `to_base64`.
24
pub struct Config {
25
/// Character set to use
26
- char_set: CharacterSet,
+ pub char_set: CharacterSet,
27
/// True to pad output with `=` characters
28
- pad: bool,
+ pub pad: bool,
29
/// `Some(len)` to wrap lines at `len`, `None` to disable line wrapping
30
- line_length: Option<uint>
+ pub line_length: Option<uint>
31
}
32
33
/// Configuration for RFC 4648 standard base64 encoding
0 commit comments