use super::{Gemspec, LoadGemspecError};
use std::path::Path;
pub fn load_gemspec(path: impl AsRef<Path>) -> Result<Gemspec, LoadGemspecError> {
let input = std::fs::read_to_string(path.as_ref())?;
let output = serde_norway::from_str(&input).unwrap(); Ok(output)
}