Skip to content

Commit

Permalink
Merge pull request #19305 from davidbarsky/davidbarsky/vendor-query-g…
Browse files Browse the repository at this point in the history
…roup-macro

internal: vendor `query-group-macro` in rust-analyzer
  • Loading branch information
Veykril authored Mar 10, 2025
2 parents 89092c7 + 7a7ff47 commit 7368212
Show file tree
Hide file tree
Showing 17 changed files with 1,988 additions and 21 deletions.
365 changes: 345 additions & 20 deletions Cargo.lock

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions crates/query-group-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "query-group-macro"
version = "0.0.0"
repository.workspace = true
description = "A macro mimicking the `#[salsa::query_group]` macro for migrating to new Salsa"

authors.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true

[lib]
proc-macro = true

[dependencies]
heck = "0.5.0"
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "2.0", features = ["full", "extra-traits"] }
salsa = { version = "0.19.0" }

[dev-dependencies]
expect-test = "1.5.0"
Loading

0 comments on commit 7368212

Please sign in to comment.