Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
256 changes: 67 additions & 189 deletions Cargo.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# * THREAD - Workspace
# =========================================================

cargo-features = ["codegen-backend"]
# cargo-features = ["codegen-backend"]

[workspace]
resolver = "3"
Expand Down Expand Up @@ -157,7 +157,7 @@ codegen-units = 1

[profile.dev-debug]
inherits = "dev"
codegen-backend = "cranelift"


Comment on lines +160 to 161
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The codegen-backend = "cranelift" line has been removed, leaving the [profile.dev-debug] profile essentially empty (it only inherits from "dev" with no additional configuration). Consider removing the entire profile section if it's no longer needed, or add a comment explaining why this profile is being kept as an empty inheritor.

Suggested change
# This profile intentionally mirrors the default `dev` profile.
# It is kept to support tooling / cargo commands that rely on a `dev-debug` profile,
# and as a placeholder for any future debug-specific overrides.

Copilot uses AI. Check for mistakes.
[profile.release-dev]
inherits = "release"
Expand Down
27 changes: 12 additions & 15 deletions crates/rule-engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,18 @@ include.workspace = true

# [features] # we need to separate serialization, but that's a big job, and ideally rework ast-engine to allow narrower featuring

[[bench]]
harness = false
name = "simple_benchmarks"

[[bench]]
harness = false
name = "ast_grep_comparison"

[[bench]]
harness = false
name = "rule_engine_benchmarks"

[[bench]]
harness = false
name = "comparison_benchmarks"









Comment on lines 23 to +31
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The benchmark sections have been removed but replaced with excessive empty lines (lines 20-31). These empty lines should be removed to maintain code cleanliness. If the benchmarks are being temporarily disabled, consider adding a comment explaining why rather than leaving blank space.

Copilot uses AI. Check for mistakes.

[dependencies]
bit-set.workspace = true
Expand All @@ -49,9 +46,9 @@ thread-utils = { workspace = true, default-features = false, features = [
] }

[dev-dependencies]
ast-grep-config = { version = "0.39.1" }
ast-grep-core = { version = "0.39.1", features = ["tree-sitter"] }
ast-grep-language = { version = "0.39.1", features = ["builtin-parser"] }
# ast-grep-config = { version = "0.39.1" }
# ast-grep-core = { version = "0.39.1", features = ["tree-sitter"] }
# ast-grep-language = { version = "0.39.1", features = ["builtin-parser"] }
criterion = { version = "0.6", features = ["html_reports"] }
thread-ast-engine = { workspace = true, features = ["matching", "parsing"] }
thread-language = { workspace = true, features = ["all-parsers"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/services/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "thread-services"
version = "0.1.0"
authors.workspace = true
authors = ["Adam Poulemanos <adam@knit.li>"]
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from authors.workspace = true to a hardcoded author value appears inconsistent with the workspace pattern used by other fields like edition.workspace and rust-version.workspace. This change is not related to the rapidhash update described in the PR. If this is intentional because the workspace doesn't define an authors field, consider adding it to the workspace configuration to maintain consistency.

Suggested change
authors = ["Adam Poulemanos <adam@knit.li>"]
authors.workspace = true

Copilot uses AI. Check for mistakes.
edition.workspace = true
rust-version.workspace = true
description = "Service layer interfaces for Thread"
Expand Down
7 changes: 6 additions & 1 deletion crates/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "thread-utils"
version = "0.0.1"
authors.workspace = true
authors = ["Adam Poulemanos <adam@knit.li>"]
Copy link

Copilot AI Jan 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from authors.workspace = true to a hardcoded author value appears inconsistent with the workspace pattern used by other fields like edition.workspace and rust-version.workspace. This change is not related to the rapidhash update described in the PR. If this is intentional because the workspace doesn't define an authors field, consider adding it to the workspace configuration to maintain consistency.

Suggested change
authors = ["Adam Poulemanos <adam@knit.li>"]
authors.workspace = true

Copilot uses AI. Check for mistakes.
edition.workspace = true
rust-version.workspace = true
description = "A collection of utilities for working with Thread. Includes fast hashers, SIMD operations, and more."
Expand All @@ -22,6 +22,9 @@ memchr = { workspace = true, optional = true }
rapidhash = { workspace = true, features = ["std"], optional = true }
simdeez = { workspace = true, optional = true }

[dev-dependencies]
tempfile = "3.15"

[features]
default = ["hashers", "random", "simd"]
hashers = ["dep:rapidhash"]
Expand All @@ -36,3 +39,5 @@ worker = ["dep:simdeez"]

[lints]
workspace = true
[dev-dependencies]
tempfile = "3.14"
Loading
Loading