Skip to content

Commit

Permalink
Update crate assembly (#265)
Browse files Browse the repository at this point in the history
## What is the goal of this PR?

We update dependencies and explicitly specify the root of the
typeql-rust crate. This allows us to have non-`lib.rs` root to our
library in the assembled crate. Cf.
typedb/bazel-distribution#366
  • Loading branch information
dmitrii-ubskii authored Jan 16, 2023
1 parent c4c8bd6 commit 8cb538e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies/vaticle/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def vaticle_dependencies():
git_repository(
name = "vaticle_dependencies",
remote = "https://github.com/vaticle/dependencies",
commit = "31ecccf097623824fde7a4c35aa95225e2fee1ae", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies
commit = "87d228da9d5b0c5a53cc1e0426161916a59a318c", # sync-marker: do not remove this comment, this is used for sync-dependencies by @vaticle_dependencies
)

def vaticle_typedb_common():
Expand Down
1 change: 1 addition & 0 deletions rust/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ rust_library(
"*.rs",
"**/*.rs",
]),
crate_root = "typeql_lang.rs",
compile_data = [
"parser/typeql.pest",
],
Expand Down

0 comments on commit 8cb538e

Please sign in to comment.