Skip to content

Commit 1e329f7

Browse files
committed
Migrate to the latest GitQL 0.35.0
1 parent 03eb33c commit 1e329f7

File tree

4 files changed

+121
-104
lines changed

4 files changed

+121
-104
lines changed

Cargo.lock

Lines changed: 80 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ categories = ["command-line-utilities"]
1313
exclude = [".github/**", "docs/**", "media/**", "scripts/**"]
1414

1515
[dependencies]
16-
gitql-core = "0.8.0"
17-
gitql-std = "0.8.0"
18-
gitql-ast = "0.28.0"
19-
gitql-parser = "0.30.0"
20-
gitql-cli = "0.31.0"
21-
gitql-engine = "0.31.0"
16+
gitql-core = "0.12.0"
17+
gitql-std = "0.12.0"
18+
gitql-ast = "0.31.0"
19+
gitql-parser = "0.34.0"
20+
gitql-cli = "0.35.0"
21+
gitql-engine = "0.35.0"

src/functions.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
use gitql_ast::types::integer::IntType;
22
use gitql_ast::types::text::TextType;
3-
use gitql_core::signature::Function;
43
use gitql_core::signature::Signature;
4+
use gitql_core::signature::StandardFunction;
55
use gitql_core::values::base::Value;
66
use gitql_core::values::integer::IntValue;
7-
use gitql_std::function::standard_function_signatures;
8-
use gitql_std::function::standard_functions;
7+
use gitql_std::standard::standard_function_signatures;
8+
use gitql_std::standard::standard_functions;
99
use std::collections::HashMap;
1010
use std::sync::OnceLock;
1111

12-
pub fn fileql_std_functions() -> &'static HashMap<&'static str, Function> {
13-
static HASHMAP: OnceLock<HashMap<&'static str, Function>> = OnceLock::new();
12+
pub fn fileql_std_functions() -> &'static HashMap<&'static str, StandardFunction> {
13+
static HASHMAP: OnceLock<HashMap<&'static str, StandardFunction>> = OnceLock::new();
1414
HASHMAP.get_or_init(|| {
15-
let mut map: HashMap<&'static str, Function> = standard_functions().to_owned();
15+
let mut map: HashMap<&'static str, StandardFunction> = standard_functions().to_owned();
1616
map.insert("files_count", files_count);
1717
map
1818
})

0 commit comments

Comments
 (0)