|
| 1 | +[workspace] |
1 | 2 | [package] |
2 | 3 | name = "codeql-extractor-ruby" |
3 | 4 | description = "CodeQL Ruby extractor" |
@@ -27,14 +28,8 @@ encoding = "0.2" |
27 | 28 | lazy_static = "1.4.0" |
28 | 29 | # Ideally, we'd like to pull this in via a relative path. |
29 | 30 | # However, our bazel/rust tooling chokes on this, c.f. https://github.com/bazelbuild/rules_rust/issues/1525 |
30 | | -# Therefore, to break that dependency, we depend on it via a git dependency instead. |
31 | | -# We should change this back to a path dependency once this issue is fixed. |
32 | | -# We can't depend on this without a rev/branch specification, as the rules_rust code assumes the default branch |
33 | | -# is called `master`, and if we pull this in with `branch=main`, then `cargo` works (and pins this at th current git SHA |
34 | | -# of lock-file update time, but `rules_rust` pins generates a bazel rule that unconditionally downloads `main`, which |
35 | | -# breaks build hermeticity. So, rev-pinning it is. |
36 | | -# See also https://github.com/bazelbuild/rules_rust/issues/2502. |
37 | | -codeql-extractor = { git = "https://github.com/github/codeql.git", rev = "0dbce3d077f6f31a8d660aea104ee31cacf6bacd" } |
| 31 | +# Therefore, we have a pretty bad hack in place instead, see README.md in the codeql-extractor-fake-crate directory. |
| 32 | +codeql-extractor = { path = "codeql-extractor-fake-crate" } |
38 | 33 |
|
39 | 34 | [patch.crates-io] |
40 | | -tree-sitter = {git = "https://github.com/redsun82/tree-sitter.git", rev = "1f5c1112ceaa8fc6aff61d1852690407670d2a96"} |
| 35 | +tree-sitter = { git = "https://github.com/redsun82/tree-sitter.git", rev = "1f5c1112ceaa8fc6aff61d1852690407670d2a96" } |
0 commit comments