Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ authors = ["Paul Colomiets <[email protected]>"]
edition = "2018"

[dependencies]
combine = "3.2.0"
combine = "4.6.6"
thiserror = "1.0.11"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions benches/graphql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ extern crate test;

extern crate graphql_parser;

use std::io::Read;
use std::fs::File;
use std::io::Read;

use graphql_parser::parse_query;

fn load_file(name: &str) -> String {
let mut buf = String::with_capacity(1024);
let path = format!("tests/queries/{}.graphql", name);
let mut f = File::open(&path).unwrap();
let mut f = File::open(path).unwrap();
f.read_to_string(&mut buf).unwrap();
buf
}
Expand Down
Loading