pub fn check_features<P1, P2>(cargo_toml: P1, protocol_json: P2) -> Result<()>where P1: AsRef<Path>, P2: AsRef<Path>,