Merge pull request #35 from zetok/encode

Allow to encode Config
This commit is contained in:
Aaron Weiss 2015-09-16 12:16:47 -04:00
commit 4deda28a00

View file

@ -8,7 +8,7 @@ use std::path::Path;
use rustc_serialize::json::decode;
/// Configuration data.
#[derive(Clone, RustcDecodable, Default, PartialEq, Debug)]
#[derive(Clone, RustcDecodable, RustcEncodable, Default, PartialEq, Debug)]
pub struct Config {
/// A list of the owners of the bot by nickname.
pub owners: Option<Vec<String>>,