mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-12 16:35:21 +00:00
93c30a953d
Switch to a procedural implementation of the `query_group!` macro, residing in the `components/salsa_macros` subcrate. Allow the user to override the invoked function via `salsa::invoke(...)` and the name of the generated query type via `salsa::query_type(...)`. In all tests, replace the `salsa::query_group! { ... }` invocations with the new attribute-style `#[salsa::query_group]` macro, and change them to the new naming scheme for query types (`...Query`). Update README, examples, and documentation.
24 lines
592 B
TOML
24 lines
592 B
TOML
[package]
|
|
name = "salsa"
|
|
version = "0.9.2"
|
|
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
|
edition = "2018"
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/salsa-rs/salsa"
|
|
description = "A generic framework for on-demand, incrementalized computation (experimental)"
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
derive-new = "0.5.5"
|
|
rustc-hash = "1.0"
|
|
parking_lot = "0.7.0"
|
|
lock_api = "0.1.4"
|
|
indexmap = "1.0.1"
|
|
log = "0.4.5"
|
|
smallvec = "0.6.5"
|
|
salsa_macros = { version = "0.9", path = "components/salsa_macros" }
|
|
|
|
[dev-dependencies]
|
|
diff = "0.1.0"
|
|
env_logger = "0.5.13"
|
|
rand = "0.5.5"
|