Skip to content

Commit b2f6deb

Browse files
authored
Upgrade to latest combine version to support new rust versions (#73)
1 parent 8d76425 commit b2f6deb

15 files changed

+1356
-891
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ authors = ["Paul Colomiets <[email protected]>"]
1515
edition = "2018"
1616

1717
[dependencies]
18-
combine = "3.2.0"
18+
combine = "4.6.6"
1919
thiserror = "1.0.11"
2020

2121
[dev-dependencies]

benches/graphql.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ extern crate test;
33

44
extern crate graphql_parser;
55

6-
use std::io::Read;
76
use std::fs::File;
7+
use std::io::Read;
88

99
use graphql_parser::parse_query;
1010

1111
fn load_file(name: &str) -> String {
1212
let mut buf = String::with_capacity(1024);
1313
let path = format!("tests/queries/{}.graphql", name);
14-
let mut f = File::open(&path).unwrap();
14+
let mut f = File::open(path).unwrap();
1515
f.read_to_string(&mut buf).unwrap();
1616
buf
1717
}

0 commit comments

Comments
 (0)