You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.rs 266B

1234567891011121314151617
  1. // use std::path::Path;
  2. // use errors::{Result};
  3. #[derive(Debug, PartialEq)]
  4. pub struct Config {
  5. pub title: String,
  6. pub base_url: String,
  7. }
  8. //impl Config {
  9. // pub fn from_file<P: AsRef<Path>>(path: P) -> Result<Config> {
  10. // Ok(())
  11. // }
  12. //}