Skip to content

Commit

Permalink
Update GitQL and Crates version
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Sep 6, 2023
1 parent 3f55cf8 commit 538ba60
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 19 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql"
authors = ["AmrDeveloper"]
version = "0.5.0"
version = "0.6.0"
edition = "2021"
description = "A SQL like query language to perform queries on .git files"
license = "MIT"
Expand All @@ -21,8 +21,8 @@ members = [
]

[dependencies]
gitql-ast = { path = "./crates/gitql-ast", version = "0.1.0" }
gitql-parser = { path = "./crates/gitql-parser", version = "0.2.0" }
gitql-engine = { path = "./crates/gitql-engine", version = "0.3.0" }
gitql-cli = { path = "./crates/gitql-cli", version = "0.3.0" }
gitql-ast = { path = "./crates/gitql-ast", version = "0.2.0" }
gitql-parser = { path = "./crates/gitql-parser", version = "0.3.0" }
gitql-engine = { path = "./crates/gitql-engine", version = "0.4.0" }
gitql-cli = { path = "./crates/gitql-cli", version = "0.4.0" }
git2 = { version = "0.17.1", default-features = false }
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ GQL is a query language with a syntax very similar to SQL with a tiny engine to
### Samples

```sql
SELECT 1
SELECT 1 + 2
SELECT LEN("Git Query Language")

SELECT name, COUNT(name) AS commit_num FROM commits GROUP BY name ORDER BY commit_num DESC LIMIT 10
SELECT commit_count FROM branches WHERE commit_count BETWEEN 0 .. 10

Expand All @@ -46,6 +50,7 @@ SELECT * FROM branches
SELECT * FROM branches WHERE is_head = true
SELECT * FROM branches WHERE name ends_with "master"
SELECT * FROM branches WHERE name contains "origin"
SELECT name, LEN(name) FROM branches

SELECT * FROM tags
SELECT * FROM tags OFFSET 1 LIMIT 1
Expand Down
2 changes: 1 addition & 1 deletion crates/gitql-ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gitql-ast"
authors = ["AmrDeveloper"]
version = "0.1.0"
version = "0.2.0"
edition = "2021"
description = "GitQL Abstract syntax tree (AST)"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-ast"
Expand Down
6 changes: 3 additions & 3 deletions crates/gitql-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
name = "gitql-cli"
authors = ["AmrDeveloper"]
version = "0.3.0"
version = "0.4.0"
edition = "2021"
description = "GitQL Command line interface (CLI) components"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-cli"
license = "MIT"

[dependencies]
gitql-ast = { path = "../gitql-ast", version = "0.1.0" }
gitql-parser = { path = "../gitql-parser", version = "0.2.0" }
gitql-ast = { path = "../gitql-ast", version = "0.2.0" }
gitql-parser = { path = "../gitql-parser", version = "0.3.0" }
prettytable-rs = "^0.10"
textwrap = "0.16.0"
termcolor = "1.2.0"
Expand Down
5 changes: 2 additions & 3 deletions crates/gitql-engine/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
[package]
name = "gitql-engine"
authors = ["AmrDeveloper"]
version = "0.3.0"
version = "0.4.0"
edition = "2021"
description = "GitQL Engine"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-engine"
license = "MIT"


[dependencies]
gitql-ast = { path = "../gitql-ast", version = "0.1.0" }
gitql-ast = { path = "../gitql-ast", version = "0.2.0" }
git2 = { version = "0.17.1", default-features = false }
regex = "1.8.4"
4 changes: 2 additions & 2 deletions crates/gitql-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "gitql-parser"
authors = ["AmrDeveloper"]
version = "0.2.0"
version = "0.3.0"
edition = "2021"
description = "GitQL parser"
repository = "https://github.com/amrdeveloper/gql/tree/main/crates/gitql-parser"
license = "MIT"

[dependencies]
gitql-ast = { path = "../gitql-ast", version = "0.1.0" }
gitql-ast = { path = "../gitql-ast", version = "0.2.0" }
lazy_static = "1.4.0"

0 comments on commit 538ba60

Please sign in to comment.