2020-10-15 15:20:11 +03:00
|
|
|
[package]
|
2023-04-19 09:27:27 +03:00
|
|
|
name = "codeql-extractor-ruby"
|
2023-04-06 11:59:08 +03:00
|
|
|
description = "CodeQL Ruby extractor"
|
2020-10-15 15:20:11 +03:00
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["GitHub"]
|
|
|
|
edition = "2018"
|
|
|
|
|
2024-02-23 00:02:14 +03:00
|
|
|
# When changing/updating these, the `cargo-bazel-lock.json` file has to be regenerated.
|
|
|
|
# Run `CARGO_BAZEL_REPIN=true CARGO_BAZEL_REPIN_ONLY=ruby_deps ./build --bazel sync --only=ruby_deps`
|
|
|
|
# in the `semmle-code` repository to do so.
|
|
|
|
# For more information, check out the documentation at
|
|
|
|
# https://bazelbuild.github.io/rules_rust/crate_universe.html#repinning--updating-dependencies
|
|
|
|
# In the future, the hope is to move this handling of the dependencies entirely into the `codeql` repository,
|
2024-02-13 12:49:28 +03:00
|
|
|
# but that depends on `rules_rust` being fully compatible with bzlmod, which they aren't yet
|
|
|
|
# (c.f. https://github.com/bazelbuild/rules_rust/issues/2452).
|
|
|
|
# Warning: The process takes >5min on my M1 mac, so do wait for a while.
|
2020-10-15 15:20:11 +03:00
|
|
|
[dependencies]
|
2023-01-09 19:07:35 +03:00
|
|
|
tree-sitter = "0.20"
|
2023-02-21 15:49:33 +03:00
|
|
|
tree-sitter-embedded-template = { git = "https://github.com/tree-sitter/tree-sitter-embedded-template.git", rev = "203f7bd3c1bbfbd98fc19add4b8fcb213c059205" }
|
2024-01-04 15:48:29 +03:00
|
|
|
tree-sitter-ruby = { git = "https://github.com/tree-sitter/tree-sitter-ruby.git", rev = "4d9ad3f010fdc47a8433adcf9ae30c8eb8475ae7" }
|
2023-04-06 11:59:08 +03:00
|
|
|
clap = { version = "4.2", features = ["derive"] }
|
2020-10-27 12:22:22 +03:00
|
|
|
tracing = "0.1"
|
2021-12-13 18:37:35 +03:00
|
|
|
tracing-subscriber = { version = "0.3.3", features = ["env-filter"] }
|
2020-12-22 22:04:24 +03:00
|
|
|
rayon = "1.5.0"
|
2023-01-24 09:39:09 +03:00
|
|
|
regex = "1.7.1"
|
2022-07-18 16:01:25 +03:00
|
|
|
encoding = "0.2"
|
|
|
|
lazy_static = "1.4.0"
|
2024-02-13 12:49:28 +03:00
|
|
|
# Ideally, we'd like to pull this in via a relative path.
|
|
|
|
# However, our bazel/rust tooling chokes on this, c.f. https://github.com/bazelbuild/rules_rust/issues/1525
|
|
|
|
# Therefore, to break that dependency, we depend on it via a git dependency instead.
|
|
|
|
# We should change this back to a path dependency once this issue is fixed.
|
|
|
|
# We can't depend on this without a rev/branch specification, as the rules_rust code assumes the default branch
|
|
|
|
# is called `master`, and if we pull this in with `branch=main`, then `cargo` works (and pins this at th current git SHA
|
|
|
|
# of lock-file update time, but `rules_rust` pins generates a bazel rule that unconditionally downloads `main`, which
|
|
|
|
# breaks build hermeticity. So, rev-pinning it is.
|
|
|
|
# See also https://github.com/bazelbuild/rules_rust/issues/2502.
|
2024-03-19 12:33:12 +03:00
|
|
|
codeql-extractor = { git = "https://github.com/github/codeql.git", rev = "cee6f003fd58c64916c629f7d8b27b870d6f78c5" }
|